@mcoda/core 0.1.7 → 0.1.8

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/CHANGELOG.md CHANGED
@@ -3,5 +3,5 @@
3
3
  ## Unreleased
4
4
  - Initial public packaging for @mcoda/core.
5
5
 
6
- ## 0.1.7
6
+ ## 0.1.8
7
7
  - Initial release.
package/README.md CHANGED
@@ -1,9 +1,28 @@
1
1
  # @mcoda/core
2
2
 
3
- Core services and APIs used by the mcoda CLI.
3
+ Core services that power the mcoda CLI (docs, planning, jobs, telemetry, openapi).
4
4
 
5
- ## Usage
6
- This package is primarily an internal dependency of `mcoda`.
5
+ ## Install
6
+ - Requires Node.js >= 20.
7
+ - Install: `npm i @mcoda/core`
8
+
9
+ ## What it provides
10
+ - WorkspaceResolver for discovering/initializing `.mcoda` workspaces.
11
+ - Service layer for docs, planning, execution, review, telemetry, and system updates.
12
+ - API wrappers (AgentsApi, TasksApi, QaTasksApi) used by the CLI.
13
+
14
+ ## Example
15
+ ```ts
16
+ import { WorkspaceResolver, JobService } from "@mcoda/core";
17
+
18
+ const workspace = await WorkspaceResolver.resolveWorkspace({ cwd: process.cwd() });
19
+ const jobs = new JobService(workspace);
20
+ // Use jobs to record command runs, token usage, and job state.
21
+ ```
22
+
23
+ ## Notes
24
+ - Most services expect a resolved workspace and read/write `.mcoda/` state.
25
+ - Primarily used by the mcoda CLI; APIs may evolve.
7
26
 
8
27
  ## License
9
28
  MIT - see `LICENSE`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcoda/core",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Core services and APIs for the mcoda CLI.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -32,10 +32,10 @@
32
32
  "dependencies": {
33
33
  "@apidevtools/swagger-parser": "^10.1.0",
34
34
  "yaml": "^2.4.2",
35
- "@mcoda/shared": "0.1.7",
36
- "@mcoda/db": "0.1.7",
37
- "@mcoda/agents": "0.1.7",
38
- "@mcoda/integrations": "0.1.7"
35
+ "@mcoda/shared": "0.1.8",
36
+ "@mcoda/agents": "0.1.8",
37
+ "@mcoda/integrations": "0.1.8",
38
+ "@mcoda/db": "0.1.8"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsc -p tsconfig.json",