mcoda 0.1.0 → 0.1.2

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.
@@ -75,8 +75,6 @@ jobs:
75
75
  publish-npm:
76
76
  needs: package
77
77
  runs-on: ubuntu-latest
78
- env:
79
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
80
78
  steps:
81
79
  - name: Checkout
82
80
  uses: actions/checkout@v4
@@ -135,15 +133,7 @@ jobs:
135
133
  - name: Update npm to latest
136
134
  run: npm install -g npm@latest
137
135
 
138
- - name: Publish packages (token)
139
- if: ${{ env.NPM_TOKEN != '' }}
140
- env:
141
- NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
142
- NPM_CONFIG_PROVENANCE: "false"
143
- run: pnpm -r publish --access public --no-git-checks
144
-
145
136
  - name: Publish packages (OIDC)
146
- if: ${{ env.NPM_TOKEN == '' }}
147
137
  env:
148
138
  NPM_CONFIG_PROVENANCE: "true"
149
139
  run: pnpm -r publish --access public --no-git-checks
@@ -1,8 +1,8 @@
1
1
  {
2
- "packages/cli": "0.1.0",
3
- "packages/core": "0.1.0",
4
- "packages/shared": "0.1.0",
5
- "packages/db": "0.1.0",
6
- "packages/integrations": "0.1.0",
7
- "packages/agents": "0.1.0"
2
+ "packages/cli": "0.1.2",
3
+ "packages/core": "0.1.2",
4
+ "packages/shared": "0.1.2",
5
+ "packages/db": "0.1.2",
6
+ "packages/integrations": "0.1.2",
7
+ "packages/agents": "0.1.2"
8
8
  }
package/CHANGELOG.md CHANGED
@@ -3,5 +3,5 @@
3
3
  ## Unreleased
4
4
  - Add OSS docs, CI, release automation, and npm packaging metadata.
5
5
 
6
- ## 0.1.0
6
+ ## 0.1.2
7
7
  - Initial public release of the mcoda CLI.
package/pack-mcoda.sh CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcoda",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Local-first CLI for planning, documentation, and execution workflows with agent assistance.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -31,16 +31,16 @@
31
31
  "workspaces": [
32
32
  "packages/*"
33
33
  ],
34
- "scripts": {
35
- "build": "pnpm -r run build",
36
- "lint": "pnpm -r run lint",
37
- "test": "pnpm -r run test"
38
- },
39
34
  "devDependencies": {
40
35
  "@types/node": "^20.11.30",
41
36
  "eslint": "^8.57.0",
42
37
  "prettier": "^3.2.5",
43
38
  "ts-node": "^10.9.2",
44
39
  "typescript": "^5.4.0"
40
+ },
41
+ "scripts": {
42
+ "build": "pnpm -r run build",
43
+ "lint": "pnpm -r run lint",
44
+ "test": "pnpm -r run test"
45
45
  }
46
- }
46
+ }
@@ -3,5 +3,5 @@
3
3
  ## Unreleased
4
4
  - Initial public packaging for @mcoda/agents.
5
5
 
6
- ## 0.1.0
6
+ ## 0.1.2
7
7
  - Initial release.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcoda/agents",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Agent registry and capabilities for mcoda.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -3,5 +3,5 @@
3
3
  ## Unreleased
4
4
  - Initial npm packaging scaffold for the mcoda CLI.
5
5
 
6
- ## 0.1.0
6
+ ## 0.1.2
7
7
  - Initial public release of the mcoda CLI.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcoda",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Local-first CLI for planning, documentation, and execution workflows with agent assistance.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -77,7 +77,7 @@ test("update --check writes releases.json and outputs json", async () => {
77
77
  SystemClient.prototype as any,
78
78
  "checkUpdate",
79
79
  async () => ({
80
- currentVersion: "0.1.0",
80
+ currentVersion: "0.1.2",
81
81
  latestVersion: "0.2.0",
82
82
  channel: "stable",
83
83
  updateAvailable: true,
@@ -108,7 +108,7 @@ test("update apply succeeds and records state", async () => {
108
108
  SystemClient.prototype as any,
109
109
  "checkUpdate",
110
110
  async () => ({
111
- currentVersion: "0.1.0",
111
+ currentVersion: "0.1.2",
112
112
  latestVersion: "0.3.0",
113
113
  channel: "stable",
114
114
  updateAvailable: true,
@@ -144,7 +144,7 @@ test("requires --force when CI is set", async () => {
144
144
  SystemClient.prototype as any,
145
145
  "checkUpdate",
146
146
  async () => ({
147
- currentVersion: "0.1.0",
147
+ currentVersion: "0.1.2",
148
148
  latestVersion: "0.3.0",
149
149
  channel: "stable",
150
150
  updateAvailable: true,
@@ -213,7 +213,7 @@ test("writes command_runs row with exit code 6 on install failure", async () =>
213
213
  SystemClient.prototype as any,
214
214
  "checkUpdate",
215
215
  async () => ({
216
- currentVersion: "0.1.0",
216
+ currentVersion: "0.1.2",
217
217
  latestVersion: "0.3.0",
218
218
  channel: "stable",
219
219
  updateAvailable: true,
@@ -256,7 +256,7 @@ test("falls back to npm on apply failure and succeeds", async () => {
256
256
  SystemClient.prototype as any,
257
257
  "checkUpdate",
258
258
  async () => ({
259
- currentVersion: "0.1.0",
259
+ currentVersion: "0.1.2",
260
260
  latestVersion: "0.3.0",
261
261
  channel: "beta",
262
262
  updateAvailable: true,
@@ -3,5 +3,5 @@
3
3
  ## Unreleased
4
4
  - Initial public packaging for @mcoda/core.
5
5
 
6
- ## 0.1.0
6
+ ## 0.1.2
7
7
  - Initial release.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcoda/core",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Core services and APIs for the mcoda CLI.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -17,7 +17,7 @@ test("OpenApiService generates spec with stubbed agent", async () => {
17
17
  "openapi: 3.1.0",
18
18
  "info:",
19
19
  " title: Demo API",
20
- " version: 0.1.0",
20
+ " version: 0.1.2",
21
21
  "paths: {}",
22
22
  "",
23
23
  ].join("\n");
@@ -38,7 +38,7 @@ test("OpenApiService generates spec with stubbed agent", async () => {
38
38
  try {
39
39
  const result = await service.generateFromDocs({
40
40
  workspace,
41
- cliVersion: "0.1.0",
41
+ cliVersion: "0.1.2",
42
42
  agentStream: false,
43
43
  dryRun: true,
44
44
  });
@@ -11,8 +11,8 @@ test("SystemUpdateService persists channel preferences and update state", async
11
11
  mcodaDir: dir,
12
12
  client: {
13
13
  checkUpdate: async () => ({
14
- currentVersion: "0.1.0",
15
- latestVersion: "0.1.1",
14
+ currentVersion: "0.1.2",
15
+ latestVersion: "0.1.2",
16
16
  channel: "stable",
17
17
  updateAvailable: true,
18
18
  }),
@@ -27,7 +27,7 @@ test("SystemUpdateService persists channel preferences and update state", async
27
27
  assert.equal(channel, "beta");
28
28
 
29
29
  const result = await service.checkUpdate("stable");
30
- assert.equal(result.info.latestVersion, "0.1.1");
30
+ assert.equal(result.info.latestVersion, "0.1.2");
31
31
 
32
32
  const statePath = path.join(dir, "releases.json");
33
33
  const state = JSON.parse(await fs.readFile(statePath, "utf8")) as any;
@@ -3,5 +3,5 @@
3
3
  ## Unreleased
4
4
  - Initial public packaging for @mcoda/db.
5
5
 
6
- ## 0.1.0
6
+ ## 0.1.2
7
7
  - Initial release.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcoda/db",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "SQLite-backed storage layer for mcoda.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcoda/generators",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "private": true,
5
5
  "description": "Internal generators and scaffolding for mcoda.",
6
6
  "type": "module",
@@ -3,5 +3,5 @@
3
3
  ## Unreleased
4
4
  - Initial public packaging for @mcoda/integrations.
5
5
 
6
- ## 0.1.0
6
+ ## 0.1.2
7
7
  - Initial release.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcoda/integrations",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "External integrations for mcoda (vcs, QA, telemetry).",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,7 @@ describe("SystemClient", () => {
13
13
  return {
14
14
  ok: true,
15
15
  status: 200,
16
- json: async () => ({ currentVersion: "0.1.0", latestVersion: "0.1.1", channel: "stable", updateAvailable: true }),
16
+ json: async () => ({ currentVersion: "0.1.2", latestVersion: "0.1.2", channel: "stable", updateAvailable: true }),
17
17
  } as Response;
18
18
  }) as typeof fetch;
19
19
  });
@@ -3,5 +3,5 @@
3
3
  ## Unreleased
4
4
  - Initial public packaging for @mcoda/shared.
5
5
 
6
- ## 0.1.0
6
+ ## 0.1.2
7
7
  - Initial release.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcoda/shared",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Shared utilities and schemas for mcoda.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcoda/testing",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "private": true,
5
5
  "description": "Internal testing utilities for mcoda.",
6
6
  "type": "module",
File without changes