* 重构ActionCommand和LearnCommand,更新DPMLContentParser和SemanticRenderer的导入路径,确保模块结构一致性。删除不再使用的DPMLContentParser和SemanticRenderer文件,优化代码结构,提升可维护性。 * 重构PromptX资源协议系统,采用极简两层协议架构,删除不必要的语义层,优化路径解析和资源加载流程。引入AI协作优化,支持直接生成完整协议路径,提升系统性能和用户体验。整体架构简化60%,实现零配置启动,显著降低内存占用和启动时间。 * optimize:优化女娲提示词 * Optimize:更新记忆策略文档,增加角色专业记忆的独特价值和工作流程,强调角色记忆与客户端记忆的差异,优化记忆引导话术和决策规则,以提升用户对专业记忆系统的理解和应用。 * feature:增加 Sean 角色 * optimize:优化记忆格式化逻辑,确保完整记忆内容不被截断,同时更新工具定义中的描述,增强用户对记忆回想器的理解和使用指导。 * feat: 添加DACP服务支持,允许通过命令行调用DACP专业服务,增强AI角色的执行能力,同时更新相关依赖和工具定义。 * feat: 在MCPServerCommand和MCPStreamableHttpCommand中添加'promptx_dacp'参数映射,同时在DACPCommand中优化参数处理逻辑,以支持数组参数的正确解析。 * feat: 更新DACP演示服务,重命名服务和描述,简化功能,删除不必要的日历和文档操作,增强演示效果。同时,优化了API接口和README文档,确保用户更易于理解和使用。 * feat: 添加DACP邮件发送功能,支持真实发送与Demo模式,增强邮件发送的配置管理和错误提示,优化用户体验。 * feat: 更新女娲和Sean角色文档,增强角色身份、核心特质和决策框架的描述,优化内容结构,提升用户理解和使用体验。同时,更新产品哲学知识体系,明确矛盾驱动和简洁性原则的应用。 * Add product management submodule * fix: 修复 recall 和 learn 的 bug * refactor: 把 hello 改成 welcome * feat: 添加DACP服务启动脚本和测试命令,更新相关依赖,优化配置文件路径处理 * fix: 更新pnpm-lock.yaml以匹配DACP依赖,解决CI中--frozen-lockfile的错误 * 更新DACP白皮书的更新日期至2025-01-19;在DACPConfigManager中优化配置管理,支持项目级和用户级配置的优先级处理,增强错误提示信息,更新相关方法以支持异步操作。
150 lines
4.7 KiB
JSON
150 lines
4.7 KiB
JSON
{
|
|
"name": "dpml-prompt",
|
|
"version": "0.0.2",
|
|
"description": "DPML-powered AI prompt framework - Revolutionary AI-First CLI system based on Deepractice Prompt Markup Language. Build sophisticated AI agents with structured prompts, memory systems, and execution frameworks.",
|
|
"main": "src/lib/index.js",
|
|
"bin": {
|
|
"dpml-prompt": "src/bin/promptx.js"
|
|
},
|
|
"scripts": {
|
|
"start": "PROMPTX_ENV=development node src/bin/promptx.js",
|
|
"dacp:start": "node src/dacp/dacp-promptx-service/server.js",
|
|
"dacp:dev": "node src/dacp/dacp-promptx-service/server.js",
|
|
"dacp:test": "jest src/dacp/",
|
|
"test": "jest",
|
|
"test:unit": "jest --selectProjects unit",
|
|
"test:integration": "jest --selectProjects integration",
|
|
"test:e2e": "jest --selectProjects e2e",
|
|
"test:watch": "jest --watch",
|
|
"test:watchUnit": "jest --watch --selectProjects unit",
|
|
"test:watchIntegration": "jest --watch --selectProjects integration",
|
|
"test:coverage": "jest --coverage",
|
|
"test:coverageUnit": "jest --coverage --selectProjects unit",
|
|
"test:coverageIntegration": "jest --coverage --selectProjects integration",
|
|
"test:coverageE2e": "jest --coverage --selectProjects e2e",
|
|
"test:ci": "jest --ci --coverage --watchAll=false --passWithNoTests || echo 'Tests completed with some issues'",
|
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
|
"lint": "eslint src/ --no-error-on-unmatched-pattern || true",
|
|
"lint:fix": "eslint src/ --fix --no-error-on-unmatched-pattern || true",
|
|
"format": "echo 'Format skipped - no formatting restrictions'",
|
|
"format:check": "echo 'Format check skipped - no formatting restrictions'",
|
|
"validate": "npm run test:ci",
|
|
"precommit": "echo 'Pre-commit hooks disabled'",
|
|
"changeset": "changeset",
|
|
"changeset:version": "changeset version",
|
|
"changeset:publish": "changeset publish",
|
|
"changeset:status": "changeset status",
|
|
"release": "pnpm changeset publish",
|
|
"release:snapshot": "pnpm changeset version --snapshot snapshot && pnpm changeset publish --tag snapshot",
|
|
"release:alpha": "pnpm changeset version --snapshot alpha && pnpm changeset publish --tag alpha",
|
|
"release:beta": "pnpm changeset version --snapshot beta && pnpm changeset publish --tag beta",
|
|
"version:patch": "pnpm changeset add --type patch",
|
|
"version:minor": "pnpm changeset add --type minor",
|
|
"version:major": "pnpm changeset add --type major"
|
|
},
|
|
"files": [
|
|
"src/",
|
|
"prompt/",
|
|
"package.json",
|
|
"README.md",
|
|
"LICENSE",
|
|
"CHANGELOG.md"
|
|
],
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
"@reaxi/node-detect-runtime": "^0.1.0",
|
|
"body-parser": "^1.20.2",
|
|
"boxen": "^5.1.2",
|
|
"chalk": "^4.1.2",
|
|
"commander": "^11.0.0",
|
|
"cors": "^2.8.5",
|
|
"env-paths": "2.2.1",
|
|
"express": "^5.1.0",
|
|
"find-monorepo-root": "^1.0.3",
|
|
"find-pkg-dir": "^2.0.0",
|
|
"find-up": "^7.0.0",
|
|
"fs-extra": "^11.1.0",
|
|
"glob": "^10.3.0",
|
|
"inquirer": "^8.2.4",
|
|
"joi": "^17.11.0",
|
|
"nodemailer": "^7.0.3",
|
|
"ora": "^5.4.1",
|
|
"pkg-dir": "^8.0.0",
|
|
"resolve": "^1.22.10",
|
|
"resolve-package": "^1.0.1",
|
|
"semver": "^7.5.0",
|
|
"yaml": "^2.3.0",
|
|
"zod": "^3.25.62",
|
|
"tree-kill": "^1.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "^0.5.1",
|
|
"@changesets/cli": "^2.29.4",
|
|
"@types/jest": "^29.5.0",
|
|
"eslint": "^8.42.0",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-plugin-jest": "^27.2.0",
|
|
"husky": "^8.0.0",
|
|
"jest": "^29.5.0",
|
|
"jest-environment-node": "^29.5.0",
|
|
"lint-staged": "^13.2.0",
|
|
"prettier": "^2.8.0",
|
|
"supertest": "^6.3.0",
|
|
"tmp": "^0.2.1"
|
|
},
|
|
"peerDependencies": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0",
|
|
"npm": ">=6.0.0"
|
|
},
|
|
"keywords": [
|
|
"dpml",
|
|
"deepractice",
|
|
"ai",
|
|
"prompt",
|
|
"prompt-engineering",
|
|
"markup-language",
|
|
"ai-first",
|
|
"cli",
|
|
"chatgpt",
|
|
"claude",
|
|
"conversation",
|
|
"agent",
|
|
"framework",
|
|
"role-playing",
|
|
"memory-system",
|
|
"automation"
|
|
],
|
|
"author": {
|
|
"name": "Deepractice",
|
|
"email": "sean@deepracticex.com",
|
|
"url": "https://deepractice.ai"
|
|
},
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/Deepractice/PromptX#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Deepractice/PromptX.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Deepractice/PromptX/issues"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,json,md}": [
|
|
"echo 'Lint-staged disabled'"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "echo 'Pre-commit hooks disabled'",
|
|
"pre-push": "echo 'Pre-push hooks disabled'"
|
|
}
|
|
}
|
|
}
|