@agentxm/workspace-configuration 0.28.7 → 0.28.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/dist/src/initialization.js +9 -3
- package/package.json +39 -39
|
@@ -363,17 +363,23 @@ const selectSetupAgents = (args) => Effect.gen(function* () {
|
|
|
363
363
|
};
|
|
364
364
|
});
|
|
365
365
|
const resolveInstructionSetup = (args) => Effect.gen(function* () {
|
|
366
|
-
|
|
366
|
+
// Unattended resolution takes the documented defaults: instruction sync
|
|
367
|
+
// on, sourced from the default file. A preview resolves the same inputs
|
|
368
|
+
// an approved unattended apply would, so it never asks and its candidate
|
|
369
|
+
// is identical with or without preapproval.
|
|
370
|
+
const unattended = args.options.nonInteractive === true ||
|
|
371
|
+
args.options.yes === true ||
|
|
372
|
+
args.options.preview === true;
|
|
367
373
|
const interaction = yield* Effect.serviceOption(WorkspaceInitializationInteraction);
|
|
368
374
|
const defaultSyncEnabled = currentInstructionSyncEnabled(args.existingSettings);
|
|
369
|
-
const syncEnabled =
|
|
375
|
+
const syncEnabled = unattended
|
|
370
376
|
? true
|
|
371
377
|
: Option.isSome(interaction)
|
|
372
378
|
? yield* interaction.value.confirmInstructionSync({ enabled: defaultSyncEnabled })
|
|
373
379
|
: defaultSyncEnabled;
|
|
374
380
|
const defaultFileName = currentInstructionFileName(args.existingSettings);
|
|
375
381
|
const choices = yield* instructionSourceChoices(args.workspaceRoot, defaultFileName);
|
|
376
|
-
const selectedFileName = syncEnabled && !
|
|
382
|
+
const selectedFileName = syncEnabled && !unattended && Option.isSome(interaction)
|
|
377
383
|
? yield* interaction.value.selectInstructionSource({
|
|
378
384
|
defaultFileName,
|
|
379
385
|
choices: choices.map(({ fileName, exists, lines }) => ({ fileName, exists, lines })),
|
package/package.json
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"version": "0.28.7",
|
|
4
|
-
"description": "AXM workspace-configuration feature: setup, configured-agent membership, instruction management, and inline workspace capabilities for the axm CLI. Unstable and unsupported — use the axm.sh CLI.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "FSL-1.1-MIT",
|
|
7
|
-
"homepage": "https://axm.sh",
|
|
2
|
+
"author": "AgentXM <hello@agentxm.ai> (https://agentxm.ai)",
|
|
8
3
|
"bugs": {
|
|
9
4
|
"url": "https://github.com/agentxm/axm/issues"
|
|
10
5
|
},
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@agentxm/agent-integration": "^0.28.8",
|
|
8
|
+
"@agentxm/extension-model": "^0.28.8",
|
|
9
|
+
"@agentxm/extension-sources": "^0.28.8",
|
|
10
|
+
"@agentxm/extension-workspace": "^0.28.8",
|
|
11
|
+
"@agentxm/workspace-operations": "^0.28.8",
|
|
12
|
+
"@agentxm/workspace-state": "^0.28.8",
|
|
13
|
+
"effect": "4.0.0-rc.112"
|
|
14
|
+
},
|
|
15
|
+
"description": "AXM workspace-configuration feature: setup, configured-agent membership, instruction management, and inline workspace capabilities for the axm CLI. Unstable and unsupported — use the axm.sh CLI.",
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@effect/platform-node": "4.0.0-rc.112",
|
|
18
|
+
"@effect/vitest": "4.0.0-rc.112",
|
|
19
|
+
"@types/bun": "^1.3.14",
|
|
20
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
21
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
22
|
+
"vitest": "^4.1.10"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=22.19.0"
|
|
16
26
|
},
|
|
17
|
-
"sideEffects": false,
|
|
18
27
|
"exports": {
|
|
19
28
|
".": {
|
|
20
|
-
"types": "./dist/src/index.d.ts",
|
|
21
29
|
"axm-source": "./src/index.ts",
|
|
22
|
-
"default": "./dist/src/index.js"
|
|
30
|
+
"default": "./dist/src/index.js",
|
|
31
|
+
"types": "./dist/src/index.d.ts"
|
|
23
32
|
},
|
|
24
33
|
"./testing": {
|
|
25
|
-
"types": "./dist/src/testing.d.ts",
|
|
26
34
|
"axm-source": "./src/testing.ts",
|
|
27
|
-
"default": "./dist/src/testing.js"
|
|
35
|
+
"default": "./dist/src/testing.js",
|
|
36
|
+
"types": "./dist/src/testing.d.ts"
|
|
28
37
|
}
|
|
29
38
|
},
|
|
30
39
|
"files": [
|
|
31
40
|
"dist/src/",
|
|
32
41
|
"!**/*.map"
|
|
33
42
|
],
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"engines": {
|
|
38
|
-
"node": ">=22.19.0"
|
|
39
|
-
},
|
|
43
|
+
"homepage": "https://axm.sh",
|
|
44
|
+
"license": "FSL-1.1-MIT",
|
|
45
|
+
"name": "@agentxm/workspace-configuration",
|
|
40
46
|
"nx": {
|
|
41
47
|
"includedScripts": []
|
|
42
48
|
},
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"@agentxm/extension-model": "^0.28.7",
|
|
46
|
-
"@agentxm/agent-integration": "^0.28.7",
|
|
47
|
-
"@agentxm/extension-workspace": "^0.28.7",
|
|
48
|
-
"@agentxm/workspace-operations": "^0.28.7",
|
|
49
|
-
"@agentxm/extension-sources": "^0.28.7",
|
|
50
|
-
"@agentxm/workspace-state": "^0.28.7"
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
52
|
+
"repository": {
|
|
53
|
+
"directory": "packages/workspace-configuration",
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "https://github.com/agentxm/axm.git"
|
|
56
|
+
},
|
|
57
|
+
"sideEffects": false,
|
|
58
|
+
"type": "module",
|
|
59
|
+
"version": "0.28.8"
|
|
60
|
+
}
|