coremind-ai 0.1.0-alpha.2 → 0.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +13 -8
package/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# coremind-ai
|
|
2
|
+
|
|
3
|
+
CoreMind 的 TypeScript/JavaScript 统一 SDK 门面。请只从 `coremind-ai` 导入公共 Config、Protocol、Runtime、Tool、Session、Checkpoint、RunState 恢复和 Evaluation 接口,不要依赖 monorepo 内部路径。
|
|
4
|
+
|
|
5
|
+
Unified TypeScript/JavaScript SDK facade for CoreMind. Import public configuration, protocol, runtime, tool, session, checkpoint, safe-resume, and evaluation APIs from `coremind-ai` only.
|
|
6
|
+
|
|
7
|
+
完整文档 / Full documentation: https://github.com/Eclipseic1848/CoreMind
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { type AgentConfig, type CoreMindConfig, loadConfigFile, parseAndValidate, parseConfigText, validateConfig, type WorkflowStep, } from "coremind-config";
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { type AgentConfig, type CoreMindConfig, loadConfigFile, type PermissionsConfig, parseAndValidate, parseConfigText, type QualityConfig, type RuntimeLimitsConfig, validateConfig, type WorkflowStep, } from "coremind-config";
|
|
2
|
+
export { createErrorResponse, createEventNotification, createPythonToolCallNotification, createSuccessResponse, PROTOCOL_VERSION, type ProtocolErrorResponse, type ProtocolEventNotification, type ProtocolRequest, type ProtocolSuccessResponse, ProtocolValidationError, type PythonToolCallNotification, parseProtocolRequest, } from "coremind-protocol";
|
|
3
|
+
export { type ApprovalDecision, buildAgentFromConfig, ChatSession, type ChatTurnResult, type CheckpointDiff, CheckpointManager, type CheckpointRecord, CoreMindError, type CoreMindEvent, CoreMindRuntime, type CoreMindRuntimeOptions, type CoreMindToolContext, type CoreMindToolDefinition, type CoreMindToolOutput, type CoreMindTraceEvent, checkProject, defineTool, type EvaluationReport, type EvaluationSuite, type EvaluationSuiteResult, FileRunStore, fingerprintRunConfig, formatMetrics, inspectCheckpoint, type JsonObjectSchema, listInheritedProviders, loadEvaluationSuite, MemoryRunStore, prepareRunResume, type ReleaseReadiness, type RunMetrics, type RunOutcome, type RunResult, type RunResumePlan, RunStateJournal, type RunStateRecord, type RunStore, restoreCheckpoint, runEvaluationSuite, type StepOutput, type ToolApprovalRequest, } from "coremind-runtime";
|
|
4
|
+
export { detectProjectLanguage, findSkill, findTemplate, type ProjectGuidanceOptions, type ProjectLanguage, resolveSkills, SKILLS, type SkillMeta, scaffoldProjectGuidance, TEMPLATES, type TemplateMeta, } from "coremind-templates";
|
|
4
5
|
export { type BuildToolsOptions, buildTools } from "coremind-tools";
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,KAAK,YAAY,GAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,KAAK,cAAc,EACnB,aAAa,EACb,KAAK,aAAa,EAClB,eAAe,EACf,KAAK,sBAAsB,EAC3B,aAAa,EACb,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,cAAc,EACd,KAAK,iBAAiB,EACtB,gBAAgB,EAChB,eAAe,EACf,KAAK,a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AAC5B,OAAO,EAAE,KAAK,iBAAiB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// CoreMind(星枢智核)统一入口 —— 聚合门面,只 re-export,不写业务逻辑
|
|
2
2
|
export { loadConfigFile, parseAndValidate, parseConfigText, validateConfig, } from "coremind-config";
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
3
|
+
export { createErrorResponse, createEventNotification, createPythonToolCallNotification, createSuccessResponse, PROTOCOL_VERSION, ProtocolValidationError, parseProtocolRequest, } from "coremind-protocol";
|
|
4
|
+
export { buildAgentFromConfig, ChatSession, CheckpointManager, CoreMindError, CoreMindRuntime, checkProject, defineTool, FileRunStore, fingerprintRunConfig, formatMetrics, inspectCheckpoint, listInheritedProviders, loadEvaluationSuite, MemoryRunStore, prepareRunResume, RunStateJournal, restoreCheckpoint, runEvaluationSuite, } from "coremind-runtime";
|
|
5
|
+
export { detectProjectLanguage, findSkill, findTemplate, resolveSkills, SKILLS, scaffoldProjectGuidance, TEMPLATES, } from "coremind-templates";
|
|
5
6
|
export { buildTools } from "coremind-tools";
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAEhD,OAAO,EAGL,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAEhD,OAAO,EAGL,cAAc,EAEd,gBAAgB,EAChB,eAAe,EAGf,cAAc,GAEf,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,gCAAgC,EAChC,qBAAqB,EACrB,gBAAgB,EAKhB,uBAAuB,EAEvB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,oBAAoB,EACpB,WAAW,EAGX,iBAAiB,EAEjB,aAAa,EAEb,eAAe,EAMf,YAAY,EACZ,UAAU,EAIV,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EAEjB,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAMhB,eAAe,EAGf,iBAAiB,EACjB,kBAAkB,GAGnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,qBAAqB,EACrB,SAAS,EACT,YAAY,EAGZ,aAAa,EACb,MAAM,EAEN,uBAAuB,EACvB,SAAS,GAEV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAA0B,UAAU,EAAE,MAAM,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coremind-ai",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "CoreMind(星枢智核)—— 配置驱动智能体开发框架(统一入口)",
|
|
3
|
+
"version": "0.2.0-beta.1",
|
|
4
|
+
"description": "CoreMind(星枢智核)—— 配置驱动智能体开发框架(统一入口)",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": { "type": "git", "url": "git+https://github.com/Eclipseic1848/CoreMind.git", "directory": "packages/coremind" },
|
|
7
|
+
"homepage": "https://github.com/Eclipseic1848/CoreMind#readme",
|
|
8
|
+
"bugs": { "url": "https://github.com/Eclipseic1848/CoreMind/issues" },
|
|
5
9
|
"type": "module",
|
|
6
10
|
"main": "./dist/index.js",
|
|
7
11
|
"types": "./dist/index.d.ts",
|
|
@@ -19,14 +23,15 @@
|
|
|
19
23
|
"node": ">=22.19.0"
|
|
20
24
|
},
|
|
21
25
|
"scripts": {
|
|
22
|
-
"build": "tsc -p tsconfig.build.json",
|
|
26
|
+
"build": "node ../../scripts/clean-package-dist.mjs && tsc -p tsconfig.build.json",
|
|
23
27
|
"typecheck": "tsc --noEmit",
|
|
24
28
|
"test": "vitest run"
|
|
25
29
|
},
|
|
26
30
|
"dependencies": {
|
|
27
|
-
"coremind-config": "0.
|
|
28
|
-
"coremind-
|
|
29
|
-
"coremind-
|
|
30
|
-
"coremind-
|
|
31
|
+
"coremind-config": "0.2.0-beta.1",
|
|
32
|
+
"coremind-protocol": "0.2.0-beta.1",
|
|
33
|
+
"coremind-runtime": "0.2.0-beta.1",
|
|
34
|
+
"coremind-tools": "0.2.0-beta.1",
|
|
35
|
+
"coremind-templates": "0.2.0-beta.1"
|
|
31
36
|
}
|
|
32
|
-
}
|
|
37
|
+
}
|