mcoda 0.1.40 → 0.1.41
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.
|
@@ -42,9 +42,9 @@ Usage: mcoda agent <list|details|limits|add|update|delete|remove|auth|auth-statu
|
|
|
42
42
|
|
|
43
43
|
Subcommands:
|
|
44
44
|
list List agents (supports --json)
|
|
45
|
-
--refresh-health
|
|
46
|
-
--no-refresh-health
|
|
47
|
-
(default:
|
|
45
|
+
--refresh-health Refresh non-billable health checks before listing
|
|
46
|
+
--no-refresh-health Use cached health only
|
|
47
|
+
(default: disabled; managed cloud agents always stay cached here)
|
|
48
48
|
details <NAME> Show agent details (supports --json)
|
|
49
49
|
limits Show tracked usage-limit windows/reset times
|
|
50
50
|
--agent <NAME> Filter by agent slug/id
|
|
@@ -171,7 +171,7 @@ const resolveListRefreshHealth = (flags) => {
|
|
|
171
171
|
return false;
|
|
172
172
|
if (refreshHealth === true)
|
|
173
173
|
return true;
|
|
174
|
-
return
|
|
174
|
+
return false;
|
|
175
175
|
};
|
|
176
176
|
const parseCostPerMillion = (value) => {
|
|
177
177
|
if (value === undefined)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MswarmConsentFlow.d.ts","sourceRoot":"","sources":["../../../src/commands/consent/MswarmConsentFlow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,aAAa,CAAC;AAErB,wBAAsB,mBAAmB,CAAC,OAAO,GAAE;IACjD,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,iBAAiB,CAAC;CACtB,GAAG,OAAO,CAAC,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"MswarmConsentFlow.d.ts","sourceRoot":"","sources":["../../../src/commands/consent/MswarmConsentFlow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,aAAa,CAAC;AAErB,wBAAsB,mBAAmB,CAAC,OAAO,GAAE;IACjD,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,iBAAiB,CAAC;CACtB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAiDlC;AAED,wBAAsB,cAAc,CAClC,KAAK,EAAE,iBAAiB,GACvB,OAAO,CAAC,SAAS,CAAC,CAOpB"}
|
|
@@ -12,9 +12,6 @@ export async function acceptMswarmConsent(options = {}) {
|
|
|
12
12
|
const response = await api.issuePaidConsent(effectivePolicyVersion);
|
|
13
13
|
const clientId = response.client_id || response.tenant_id || state.clientId;
|
|
14
14
|
const clientType = response.client_type || 'paid_mcoda_client';
|
|
15
|
-
if (!clientId) {
|
|
16
|
-
throw new Error('mswarm paid consent response did not include a client or tenant id');
|
|
17
|
-
}
|
|
18
15
|
return store.saveConsentState({
|
|
19
16
|
consentAccepted: true,
|
|
20
17
|
consentPolicyVersion: effectivePolicyVersion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcoda",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
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",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"yaml": "^2.4.2",
|
|
50
|
-
"@mcoda/core": "0.1.
|
|
51
|
-
"@mcoda/shared": "0.1.
|
|
50
|
+
"@mcoda/core": "0.1.41",
|
|
51
|
+
"@mcoda/shared": "0.1.41"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@mcoda/
|
|
55
|
-
"@mcoda/
|
|
54
|
+
"@mcoda/db": "0.1.41",
|
|
55
|
+
"@mcoda/integrations": "0.1.41"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsc -p tsconfig.json",
|