@defai.digital/ax-cli 4.4.6 → 4.4.10
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/bin/ax-cli +1 -5
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +158 -9
- package/dist/index.js.map +1 -1
- package/dist/setup.d.ts +27 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/setup.js +591 -0
- package/dist/setup.js.map +1 -0
- package/package.json +43 -135
- package/LICENSE +0 -22
- package/README.md +0 -387
- package/config-defaults/messages.yaml +0 -75
- package/config-defaults/models.yaml +0 -57
- package/config-defaults/prompts.yaml +0 -948
- package/config-defaults/settings.yaml +0 -157
- package/dist/agent/agent-executor.d.ts +0 -61
- package/dist/agent/agent-executor.js +0 -194
- package/dist/agent/agent-executor.js.map +0 -1
- package/dist/agent/agent-router.d.ts +0 -68
- package/dist/agent/agent-router.js +0 -242
- package/dist/agent/agent-router.js.map +0 -1
- package/dist/agent/context-manager.d.ts +0 -122
- package/dist/agent/context-manager.js +0 -406
- package/dist/agent/context-manager.js.map +0 -1
- package/dist/agent/core/index.d.ts +0 -8
- package/dist/agent/core/index.js +0 -9
- package/dist/agent/core/index.js.map +0 -1
- package/dist/agent/core/types.d.ts +0 -92
- package/dist/agent/core/types.js +0 -11
- package/dist/agent/core/types.js.map +0 -1
- package/dist/agent/dependency-resolver.d.ts +0 -90
- package/dist/agent/dependency-resolver.js +0 -366
- package/dist/agent/dependency-resolver.js.map +0 -1
- package/dist/agent/execution/index.d.ts +0 -9
- package/dist/agent/execution/index.js +0 -9
- package/dist/agent/execution/index.js.map +0 -1
- package/dist/agent/execution/tool-executor.d.ts +0 -93
- package/dist/agent/execution/tool-executor.js +0 -552
- package/dist/agent/execution/tool-executor.js.map +0 -1
- package/dist/agent/index.d.ts +0 -14
- package/dist/agent/index.js +0 -145
- package/dist/agent/index.js.map +0 -1
- package/dist/agent/llm-agent.d.ts +0 -368
- package/dist/agent/llm-agent.js +0 -1931
- package/dist/agent/llm-agent.js.map +0 -1
- package/dist/agent/loop-detector.d.ts +0 -72
- package/dist/agent/loop-detector.js +0 -335
- package/dist/agent/loop-detector.js.map +0 -1
- package/dist/agent/parallel-tools.d.ts +0 -69
- package/dist/agent/parallel-tools.js +0 -188
- package/dist/agent/parallel-tools.js.map +0 -1
- package/dist/agent/planning/index.d.ts +0 -9
- package/dist/agent/planning/index.js +0 -9
- package/dist/agent/planning/index.js.map +0 -1
- package/dist/agent/planning/plan-executor.d.ts +0 -79
- package/dist/agent/planning/plan-executor.js +0 -240
- package/dist/agent/planning/plan-executor.js.map +0 -1
- package/dist/agent/progress-tracker.d.ts +0 -94
- package/dist/agent/progress-tracker.js +0 -225
- package/dist/agent/progress-tracker.js.map +0 -1
- package/dist/agent/specialized/analysis-agent.d.ts +0 -11
- package/dist/agent/specialized/analysis-agent.js +0 -24
- package/dist/agent/specialized/analysis-agent.js.map +0 -1
- package/dist/agent/specialized/debug-agent.d.ts +0 -11
- package/dist/agent/specialized/debug-agent.js +0 -46
- package/dist/agent/specialized/debug-agent.js.map +0 -1
- package/dist/agent/specialized/documentation-agent.d.ts +0 -11
- package/dist/agent/specialized/documentation-agent.js +0 -24
- package/dist/agent/specialized/documentation-agent.js.map +0 -1
- package/dist/agent/specialized/index.d.ts +0 -11
- package/dist/agent/specialized/index.js +0 -12
- package/dist/agent/specialized/index.js.map +0 -1
- package/dist/agent/specialized/performance-agent.d.ts +0 -11
- package/dist/agent/specialized/performance-agent.js +0 -24
- package/dist/agent/specialized/performance-agent.js.map +0 -1
- package/dist/agent/specialized/refactoring-agent.d.ts +0 -11
- package/dist/agent/specialized/refactoring-agent.js +0 -24
- package/dist/agent/specialized/refactoring-agent.js.map +0 -1
- package/dist/agent/specialized/testing-agent.d.ts +0 -11
- package/dist/agent/specialized/testing-agent.js +0 -24
- package/dist/agent/specialized/testing-agent.js.map +0 -1
- package/dist/agent/status-reporter.d.ts +0 -114
- package/dist/agent/status-reporter.js +0 -335
- package/dist/agent/status-reporter.js.map +0 -1
- package/dist/agent/streaming/index.d.ts +0 -9
- package/dist/agent/streaming/index.js +0 -9
- package/dist/agent/streaming/index.js.map +0 -1
- package/dist/agent/streaming/stream-handler.d.ts +0 -62
- package/dist/agent/streaming/stream-handler.js +0 -217
- package/dist/agent/streaming/stream-handler.js.map +0 -1
- package/dist/agent/subagent-orchestrator.d.ts +0 -166
- package/dist/agent/subagent-orchestrator.js +0 -487
- package/dist/agent/subagent-orchestrator.js.map +0 -1
- package/dist/agent/subagent-types.d.ts +0 -261
- package/dist/agent/subagent-types.js +0 -257
- package/dist/agent/subagent-types.js.map +0 -1
- package/dist/agent/subagent.d.ts +0 -116
- package/dist/agent/subagent.js +0 -507
- package/dist/agent/subagent.js.map +0 -1
- package/dist/checkpoint/index.d.ts +0 -9
- package/dist/checkpoint/index.js +0 -11
- package/dist/checkpoint/index.js.map +0 -1
- package/dist/checkpoint/manager.d.ts +0 -101
- package/dist/checkpoint/manager.js +0 -407
- package/dist/checkpoint/manager.js.map +0 -1
- package/dist/checkpoint/storage.d.ts +0 -39
- package/dist/checkpoint/storage.js +0 -350
- package/dist/checkpoint/storage.js.map +0 -1
- package/dist/checkpoint/types.d.ts +0 -111
- package/dist/checkpoint/types.js +0 -17
- package/dist/checkpoint/types.js.map +0 -1
- package/dist/commands/cache.d.ts +0 -7
- package/dist/commands/cache.js +0 -284
- package/dist/commands/cache.js.map +0 -1
- package/dist/commands/custom-commands.d.ts +0 -77
- package/dist/commands/custom-commands.js +0 -251
- package/dist/commands/custom-commands.js.map +0 -1
- package/dist/commands/design.d.ts +0 -18
- package/dist/commands/design.js +0 -511
- package/dist/commands/design.js.map +0 -1
- package/dist/commands/doctor.d.ts +0 -6
- package/dist/commands/doctor.js +0 -773
- package/dist/commands/doctor.js.map +0 -1
- package/dist/commands/frontend.d.ts +0 -9
- package/dist/commands/frontend.js +0 -645
- package/dist/commands/frontend.js.map +0 -1
- package/dist/commands/init/wizard.d.ts +0 -55
- package/dist/commands/init/wizard.js +0 -189
- package/dist/commands/init/wizard.js.map +0 -1
- package/dist/commands/init.d.ts +0 -8
- package/dist/commands/init.js +0 -195
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/mcp-migrate.d.ts +0 -9
- package/dist/commands/mcp-migrate.js +0 -175
- package/dist/commands/mcp-migrate.js.map +0 -1
- package/dist/commands/mcp.d.ts +0 -2
- package/dist/commands/mcp.js +0 -1292
- package/dist/commands/mcp.js.map +0 -1
- package/dist/commands/memory.d.ts +0 -6
- package/dist/commands/memory.js +0 -555
- package/dist/commands/memory.js.map +0 -1
- package/dist/commands/models.d.ts +0 -5
- package/dist/commands/models.js +0 -213
- package/dist/commands/models.js.map +0 -1
- package/dist/commands/plan.d.ts +0 -43
- package/dist/commands/plan.js +0 -362
- package/dist/commands/plan.js.map +0 -1
- package/dist/commands/rewind.d.ts +0 -19
- package/dist/commands/rewind.js +0 -221
- package/dist/commands/rewind.js.map +0 -1
- package/dist/commands/setup.d.ts +0 -14
- package/dist/commands/setup.js +0 -733
- package/dist/commands/setup.js.map +0 -1
- package/dist/commands/status.d.ts +0 -7
- package/dist/commands/status.js +0 -437
- package/dist/commands/status.js.map +0 -1
- package/dist/commands/templates.d.ts +0 -5
- package/dist/commands/templates.js +0 -245
- package/dist/commands/templates.js.map +0 -1
- package/dist/commands/update.d.ts +0 -49
- package/dist/commands/update.js +0 -366
- package/dist/commands/update.js.map +0 -1
- package/dist/commands/usage.d.ts +0 -8
- package/dist/commands/usage.js +0 -264
- package/dist/commands/usage.js.map +0 -1
- package/dist/commands/vscode.d.ts +0 -7
- package/dist/commands/vscode.js +0 -419
- package/dist/commands/vscode.js.map +0 -1
- package/dist/constants.d.ts +0 -236
- package/dist/constants.js +0 -288
- package/dist/constants.js.map +0 -1
- package/dist/design/figma-alias.d.ts +0 -170
- package/dist/design/figma-alias.js +0 -577
- package/dist/design/figma-alias.js.map +0 -1
- package/dist/design/figma-audit.d.ts +0 -40
- package/dist/design/figma-audit.js +0 -383
- package/dist/design/figma-audit.js.map +0 -1
- package/dist/design/figma-client.d.ts +0 -131
- package/dist/design/figma-client.js +0 -369
- package/dist/design/figma-client.js.map +0 -1
- package/dist/design/figma-map.d.ts +0 -29
- package/dist/design/figma-map.js +0 -346
- package/dist/design/figma-map.js.map +0 -1
- package/dist/design/figma-tokens.d.ts +0 -73
- package/dist/design/figma-tokens.js +0 -448
- package/dist/design/figma-tokens.js.map +0 -1
- package/dist/design/index.d.ts +0 -13
- package/dist/design/index.js +0 -20
- package/dist/design/index.js.map +0 -1
- package/dist/design/types.d.ts +0 -98
- package/dist/design/types.js +0 -9
- package/dist/design/types.js.map +0 -1
- package/dist/hooks/hook-runner.d.ts +0 -142
- package/dist/hooks/hook-runner.js +0 -436
- package/dist/hooks/hook-runner.js.map +0 -1
- package/dist/hooks/index.d.ts +0 -9
- package/dist/hooks/index.js +0 -10
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/manager.d.ts +0 -84
- package/dist/hooks/manager.js +0 -348
- package/dist/hooks/manager.js.map +0 -1
- package/dist/hooks/types.d.ts +0 -134
- package/dist/hooks/types.js +0 -9
- package/dist/hooks/types.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/ipc/index.d.ts +0 -9
- package/dist/ipc/index.js +0 -10
- package/dist/ipc/index.js.map +0 -1
- package/dist/ipc/vscode-client.d.ts +0 -200
- package/dist/ipc/vscode-client.js +0 -495
- package/dist/ipc/vscode-client.js.map +0 -1
- package/dist/llm/client.d.ts +0 -205
- package/dist/llm/client.js +0 -735
- package/dist/llm/client.js.map +0 -1
- package/dist/llm/tools.d.ts +0 -102
- package/dist/llm/tools.js +0 -275
- package/dist/llm/tools.js.map +0 -1
- package/dist/llm/types.d.ts +0 -428
- package/dist/llm/types.js +0 -194
- package/dist/llm/types.js.map +0 -1
- package/dist/mcp/automatosx-auto-discovery.d.ts +0 -66
- package/dist/mcp/automatosx-auto-discovery.js +0 -169
- package/dist/mcp/automatosx-auto-discovery.js.map +0 -1
- package/dist/mcp/automatosx-loader.d.ts +0 -99
- package/dist/mcp/automatosx-loader.js +0 -250
- package/dist/mcp/automatosx-loader.js.map +0 -1
- package/dist/mcp/cancellation.d.ts +0 -182
- package/dist/mcp/cancellation.js +0 -275
- package/dist/mcp/cancellation.js.map +0 -1
- package/dist/mcp/client-v2.d.ts +0 -500
- package/dist/mcp/client-v2.js +0 -1433
- package/dist/mcp/client-v2.js.map +0 -1
- package/dist/mcp/client.d.ts +0 -170
- package/dist/mcp/client.js +0 -232
- package/dist/mcp/client.js.map +0 -1
- package/dist/mcp/config-detector.d.ts +0 -90
- package/dist/mcp/config-detector.js +0 -250
- package/dist/mcp/config-detector.js.map +0 -1
- package/dist/mcp/config-migrator.d.ts +0 -68
- package/dist/mcp/config-migrator.js +0 -291
- package/dist/mcp/config-migrator.js.map +0 -1
- package/dist/mcp/config.d.ts +0 -24
- package/dist/mcp/config.js +0 -273
- package/dist/mcp/config.js.map +0 -1
- package/dist/mcp/constants.d.ts +0 -66
- package/dist/mcp/constants.js +0 -85
- package/dist/mcp/constants.js.map +0 -1
- package/dist/mcp/content-length-transport.d.ts +0 -106
- package/dist/mcp/content-length-transport.js +0 -413
- package/dist/mcp/content-length-transport.js.map +0 -1
- package/dist/mcp/debug.d.ts +0 -211
- package/dist/mcp/debug.js +0 -404
- package/dist/mcp/debug.js.map +0 -1
- package/dist/mcp/error-formatter.d.ts +0 -40
- package/dist/mcp/error-formatter.js +0 -207
- package/dist/mcp/error-formatter.js.map +0 -1
- package/dist/mcp/error-remediation.d.ts +0 -45
- package/dist/mcp/error-remediation.js +0 -291
- package/dist/mcp/error-remediation.js.map +0 -1
- package/dist/mcp/health.d.ts +0 -120
- package/dist/mcp/health.js +0 -267
- package/dist/mcp/health.js.map +0 -1
- package/dist/mcp/index.d.ts +0 -56
- package/dist/mcp/index.js +0 -89
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/invariants.d.ts +0 -141
- package/dist/mcp/invariants.js +0 -243
- package/dist/mcp/invariants.js.map +0 -1
- package/dist/mcp/mutex-safe.d.ts +0 -151
- package/dist/mcp/mutex-safe.js +0 -260
- package/dist/mcp/mutex-safe.js.map +0 -1
- package/dist/mcp/progress.d.ts +0 -155
- package/dist/mcp/progress.js +0 -252
- package/dist/mcp/progress.js.map +0 -1
- package/dist/mcp/prompts.d.ts +0 -68
- package/dist/mcp/prompts.js +0 -129
- package/dist/mcp/prompts.js.map +0 -1
- package/dist/mcp/provider-mcp-loader.d.ts +0 -130
- package/dist/mcp/provider-mcp-loader.js +0 -292
- package/dist/mcp/provider-mcp-loader.js.map +0 -1
- package/dist/mcp/reconnection.d.ts +0 -101
- package/dist/mcp/reconnection.js +0 -253
- package/dist/mcp/reconnection.js.map +0 -1
- package/dist/mcp/registry.d.ts +0 -75
- package/dist/mcp/registry.js +0 -276
- package/dist/mcp/registry.js.map +0 -1
- package/dist/mcp/resources.d.ts +0 -58
- package/dist/mcp/resources.js +0 -144
- package/dist/mcp/resources.js.map +0 -1
- package/dist/mcp/schema-validator.d.ts +0 -82
- package/dist/mcp/schema-validator.js +0 -161
- package/dist/mcp/schema-validator.js.map +0 -1
- package/dist/mcp/ssrf-protection.d.ts +0 -86
- package/dist/mcp/ssrf-protection.js +0 -311
- package/dist/mcp/ssrf-protection.js.map +0 -1
- package/dist/mcp/subscriptions.d.ts +0 -168
- package/dist/mcp/subscriptions.js +0 -248
- package/dist/mcp/subscriptions.js.map +0 -1
- package/dist/mcp/templates.d.ts +0 -52
- package/dist/mcp/templates.js +0 -627
- package/dist/mcp/templates.js.map +0 -1
- package/dist/mcp/transports.d.ts +0 -80
- package/dist/mcp/transports.js +0 -237
- package/dist/mcp/transports.js.map +0 -1
- package/dist/mcp/type-safety.d.ts +0 -225
- package/dist/mcp/type-safety.js +0 -237
- package/dist/mcp/type-safety.js.map +0 -1
- package/dist/mcp/validation.d.ts +0 -29
- package/dist/mcp/validation.js +0 -339
- package/dist/mcp/validation.js.map +0 -1
- package/dist/mcp/zai-detector.d.ts +0 -63
- package/dist/mcp/zai-detector.js +0 -193
- package/dist/mcp/zai-detector.js.map +0 -1
- package/dist/mcp/zai-templates.d.ts +0 -90
- package/dist/mcp/zai-templates.js +0 -157
- package/dist/mcp/zai-templates.js.map +0 -1
- package/dist/memory/context-generator.d.ts +0 -84
- package/dist/memory/context-generator.js +0 -546
- package/dist/memory/context-generator.js.map +0 -1
- package/dist/memory/context-injector.d.ts +0 -97
- package/dist/memory/context-injector.js +0 -159
- package/dist/memory/context-injector.js.map +0 -1
- package/dist/memory/context-store.d.ts +0 -103
- package/dist/memory/context-store.js +0 -264
- package/dist/memory/context-store.js.map +0 -1
- package/dist/memory/index.d.ts +0 -43
- package/dist/memory/index.js +0 -49
- package/dist/memory/index.js.map +0 -1
- package/dist/memory/provider-context-store.d.ts +0 -127
- package/dist/memory/provider-context-store.js +0 -385
- package/dist/memory/provider-context-store.js.map +0 -1
- package/dist/memory/schemas.d.ts +0 -118
- package/dist/memory/schemas.js +0 -106
- package/dist/memory/schemas.js.map +0 -1
- package/dist/memory/stats-collector.d.ts +0 -73
- package/dist/memory/stats-collector.js +0 -170
- package/dist/memory/stats-collector.js.map +0 -1
- package/dist/memory/types.d.ts +0 -177
- package/dist/memory/types.js +0 -73
- package/dist/memory/types.js.map +0 -1
- package/dist/permissions/index.d.ts +0 -6
- package/dist/permissions/index.js +0 -7
- package/dist/permissions/index.js.map +0 -1
- package/dist/permissions/permission-manager.d.ts +0 -149
- package/dist/permissions/permission-manager.js +0 -410
- package/dist/permissions/permission-manager.js.map +0 -1
- package/dist/planner/dependency-resolver.d.ts +0 -72
- package/dist/planner/dependency-resolver.js +0 -272
- package/dist/planner/dependency-resolver.js.map +0 -1
- package/dist/planner/index.d.ts +0 -12
- package/dist/planner/index.js +0 -28
- package/dist/planner/index.js.map +0 -1
- package/dist/planner/plan-generator.d.ts +0 -74
- package/dist/planner/plan-generator.js +0 -244
- package/dist/planner/plan-generator.js.map +0 -1
- package/dist/planner/plan-storage.d.ts +0 -113
- package/dist/planner/plan-storage.js +0 -398
- package/dist/planner/plan-storage.js.map +0 -1
- package/dist/planner/prompts/planning-prompt.d.ts +0 -62
- package/dist/planner/prompts/planning-prompt.js +0 -414
- package/dist/planner/prompts/planning-prompt.js.map +0 -1
- package/dist/planner/task-planner.d.ts +0 -139
- package/dist/planner/task-planner.js +0 -532
- package/dist/planner/task-planner.js.map +0 -1
- package/dist/planner/token-estimator.d.ts +0 -63
- package/dist/planner/token-estimator.js +0 -295
- package/dist/planner/token-estimator.js.map +0 -1
- package/dist/planner/types.d.ts +0 -425
- package/dist/planner/types.js +0 -213
- package/dist/planner/types.js.map +0 -1
- package/dist/provider/config.d.ts +0 -227
- package/dist/provider/config.js +0 -430
- package/dist/provider/config.js.map +0 -1
- package/dist/schemas/api-schemas.d.ts +0 -45
- package/dist/schemas/api-schemas.js +0 -129
- package/dist/schemas/api-schemas.js.map +0 -1
- package/dist/schemas/confirmation-schemas.d.ts +0 -39
- package/dist/schemas/confirmation-schemas.js +0 -48
- package/dist/schemas/confirmation-schemas.js.map +0 -1
- package/dist/schemas/index-unified.d.ts +0 -12
- package/dist/schemas/index-unified.js +0 -17
- package/dist/schemas/index-unified.js.map +0 -1
- package/dist/schemas/index.d.ts +0 -83
- package/dist/schemas/index.js +0 -139
- package/dist/schemas/index.js.map +0 -1
- package/dist/schemas/settings-schemas.d.ts +0 -186
- package/dist/schemas/settings-schemas.js +0 -324
- package/dist/schemas/settings-schemas.js.map +0 -1
- package/dist/schemas/tool-schemas.d.ts +0 -127
- package/dist/schemas/tool-schemas.js +0 -84
- package/dist/schemas/tool-schemas.js.map +0 -1
- package/dist/schemas/yaml-schemas.d.ts +0 -231
- package/dist/schemas/yaml-schemas.js +0 -199
- package/dist/schemas/yaml-schemas.js.map +0 -1
- package/dist/sdk/errors.d.ts +0 -100
- package/dist/sdk/errors.js +0 -138
- package/dist/sdk/errors.js.map +0 -1
- package/dist/sdk/index.d.ts +0 -901
- package/dist/sdk/index.js +0 -1272
- package/dist/sdk/index.js.map +0 -1
- package/dist/sdk/progress-reporter.d.ts +0 -123
- package/dist/sdk/progress-reporter.js +0 -220
- package/dist/sdk/progress-reporter.js.map +0 -1
- package/dist/sdk/testing.d.ts +0 -427
- package/dist/sdk/testing.js +0 -725
- package/dist/sdk/testing.js.map +0 -1
- package/dist/sdk/tool-registry.d.ts +0 -194
- package/dist/sdk/tool-registry.js +0 -326
- package/dist/sdk/tool-registry.js.map +0 -1
- package/dist/sdk/types.d.ts +0 -53
- package/dist/sdk/types.js +0 -8
- package/dist/sdk/types.js.map +0 -1
- package/dist/sdk/unified-logger.d.ts +0 -173
- package/dist/sdk/unified-logger.js +0 -327
- package/dist/sdk/unified-logger.js.map +0 -1
- package/dist/sdk/version.d.ts +0 -163
- package/dist/sdk/version.js +0 -205
- package/dist/sdk/version.js.map +0 -1
- package/dist/tools/ask-user.d.ts +0 -126
- package/dist/tools/ask-user.js +0 -290
- package/dist/tools/ask-user.js.map +0 -1
- package/dist/tools/ax-agent.d.ts +0 -71
- package/dist/tools/ax-agent.js +0 -283
- package/dist/tools/ax-agent.js.map +0 -1
- package/dist/tools/bash-output.d.ts +0 -25
- package/dist/tools/bash-output.js +0 -146
- package/dist/tools/bash-output.js.map +0 -1
- package/dist/tools/bash.d.ts +0 -67
- package/dist/tools/bash.js +0 -522
- package/dist/tools/bash.js.map +0 -1
- package/dist/tools/confirmation-tool.d.ts +0 -16
- package/dist/tools/confirmation-tool.js +0 -76
- package/dist/tools/confirmation-tool.js.map +0 -1
- package/dist/tools/definitions/ask-user.d.ts +0 -8
- package/dist/tools/definitions/ask-user.js +0 -168
- package/dist/tools/definitions/ask-user.js.map +0 -1
- package/dist/tools/definitions/ax-agent.d.ts +0 -8
- package/dist/tools/definitions/ax-agent.js +0 -276
- package/dist/tools/definitions/ax-agent.js.map +0 -1
- package/dist/tools/definitions/bash-output.d.ts +0 -7
- package/dist/tools/definitions/bash-output.js +0 -78
- package/dist/tools/definitions/bash-output.js.map +0 -1
- package/dist/tools/definitions/bash.d.ts +0 -8
- package/dist/tools/definitions/bash.js +0 -152
- package/dist/tools/definitions/bash.js.map +0 -1
- package/dist/tools/definitions/create-file.d.ts +0 -7
- package/dist/tools/definitions/create-file.js +0 -129
- package/dist/tools/definitions/create-file.js.map +0 -1
- package/dist/tools/definitions/design.d.ts +0 -12
- package/dist/tools/definitions/design.js +0 -368
- package/dist/tools/definitions/design.js.map +0 -1
- package/dist/tools/definitions/index.d.ts +0 -49
- package/dist/tools/definitions/index.js +0 -87
- package/dist/tools/definitions/index.js.map +0 -1
- package/dist/tools/definitions/multi-edit.d.ts +0 -7
- package/dist/tools/definitions/multi-edit.js +0 -123
- package/dist/tools/definitions/multi-edit.js.map +0 -1
- package/dist/tools/definitions/search.d.ts +0 -7
- package/dist/tools/definitions/search.js +0 -159
- package/dist/tools/definitions/search.js.map +0 -1
- package/dist/tools/definitions/str-replace-editor.d.ts +0 -7
- package/dist/tools/definitions/str-replace-editor.js +0 -145
- package/dist/tools/definitions/str-replace-editor.js.map +0 -1
- package/dist/tools/definitions/todo.d.ts +0 -8
- package/dist/tools/definitions/todo.js +0 -261
- package/dist/tools/definitions/todo.js.map +0 -1
- package/dist/tools/definitions/view-file.d.ts +0 -7
- package/dist/tools/definitions/view-file.js +0 -111
- package/dist/tools/definitions/view-file.js.map +0 -1
- package/dist/tools/design-tool.d.ts +0 -68
- package/dist/tools/design-tool.js +0 -299
- package/dist/tools/design-tool.js.map +0 -1
- package/dist/tools/format-generators.d.ts +0 -62
- package/dist/tools/format-generators.js +0 -291
- package/dist/tools/format-generators.js.map +0 -1
- package/dist/tools/index.d.ts +0 -8
- package/dist/tools/index.js +0 -11
- package/dist/tools/index.js.map +0 -1
- package/dist/tools/priority-registry.d.ts +0 -124
- package/dist/tools/priority-registry.js +0 -401
- package/dist/tools/priority-registry.js.map +0 -1
- package/dist/tools/priority.d.ts +0 -158
- package/dist/tools/priority.js +0 -350
- package/dist/tools/priority.js.map +0 -1
- package/dist/tools/registry.d.ts +0 -146
- package/dist/tools/registry.js +0 -171
- package/dist/tools/registry.js.map +0 -1
- package/dist/tools/search.d.ts +0 -85
- package/dist/tools/search.js +0 -430
- package/dist/tools/search.js.map +0 -1
- package/dist/tools/text-editor.d.ts +0 -87
- package/dist/tools/text-editor.js +0 -1369
- package/dist/tools/text-editor.js.map +0 -1
- package/dist/tools/todo-tool.d.ts +0 -20
- package/dist/tools/todo-tool.js +0 -186
- package/dist/tools/todo-tool.js.map +0 -1
- package/dist/tools/types.d.ts +0 -175
- package/dist/tools/types.js +0 -11
- package/dist/tools/types.js.map +0 -1
- package/dist/types/index.d.ts +0 -30
- package/dist/types/index.js +0 -2
- package/dist/types/index.js.map +0 -1
- package/dist/types/project-analysis.d.ts +0 -84
- package/dist/types/project-analysis.js +0 -5
- package/dist/types/project-analysis.js.map +0 -1
- package/dist/types/template.d.ts +0 -53
- package/dist/types/template.js +0 -5
- package/dist/types/template.js.map +0 -1
- package/dist/ui/app.d.ts +0 -7
- package/dist/ui/app.js +0 -102
- package/dist/ui/app.js.map +0 -1
- package/dist/ui/components/api-key-input.d.ts +0 -7
- package/dist/ui/components/api-key-input.js +0 -92
- package/dist/ui/components/api-key-input.js.map +0 -1
- package/dist/ui/components/chat-history.d.ts +0 -12
- package/dist/ui/components/chat-history.js +0 -391
- package/dist/ui/components/chat-history.js.map +0 -1
- package/dist/ui/components/chat-input.d.ts +0 -13
- package/dist/ui/components/chat-input.js +0 -179
- package/dist/ui/components/chat-input.js.map +0 -1
- package/dist/ui/components/chat-interface.d.ts +0 -11
- package/dist/ui/components/chat-interface.js +0 -830
- package/dist/ui/components/chat-interface.js.map +0 -1
- package/dist/ui/components/collapsible-tool-result.d.ts +0 -42
- package/dist/ui/components/collapsible-tool-result.js +0 -216
- package/dist/ui/components/collapsible-tool-result.js.map +0 -1
- package/dist/ui/components/command-suggestions.d.ts +0 -29
- package/dist/ui/components/command-suggestions.js +0 -88
- package/dist/ui/components/command-suggestions.js.map +0 -1
- package/dist/ui/components/confirmation-dialog.d.ts +0 -11
- package/dist/ui/components/confirmation-dialog.js +0 -100
- package/dist/ui/components/confirmation-dialog.js.map +0 -1
- package/dist/ui/components/context-breakdown.d.ts +0 -23
- package/dist/ui/components/context-breakdown.js +0 -124
- package/dist/ui/components/context-breakdown.js.map +0 -1
- package/dist/ui/components/diff-renderer.d.ts +0 -13
- package/dist/ui/components/diff-renderer.js +0 -192
- package/dist/ui/components/diff-renderer.js.map +0 -1
- package/dist/ui/components/index.d.ts +0 -18
- package/dist/ui/components/index.js +0 -20
- package/dist/ui/components/index.js.map +0 -1
- package/dist/ui/components/keyboard-help.d.ts +0 -17
- package/dist/ui/components/keyboard-help.js +0 -122
- package/dist/ui/components/keyboard-help.js.map +0 -1
- package/dist/ui/components/keyboard-hints.d.ts +0 -35
- package/dist/ui/components/keyboard-hints.js +0 -142
- package/dist/ui/components/keyboard-hints.js.map +0 -1
- package/dist/ui/components/loading-spinner.d.ts +0 -9
- package/dist/ui/components/loading-spinner.js +0 -120
- package/dist/ui/components/loading-spinner.js.map +0 -1
- package/dist/ui/components/mcp-dashboard.d.ts +0 -15
- package/dist/ui/components/mcp-dashboard.js +0 -520
- package/dist/ui/components/mcp-dashboard.js.map +0 -1
- package/dist/ui/components/mcp-status.d.ts +0 -5
- package/dist/ui/components/mcp-status.js +0 -58
- package/dist/ui/components/mcp-status.js.map +0 -1
- package/dist/ui/components/model-selection.d.ts +0 -12
- package/dist/ui/components/model-selection.js +0 -17
- package/dist/ui/components/model-selection.js.map +0 -1
- package/dist/ui/components/phase-progress.d.ts +0 -21
- package/dist/ui/components/phase-progress.js +0 -185
- package/dist/ui/components/phase-progress.js.map +0 -1
- package/dist/ui/components/question-dialog.d.ts +0 -17
- package/dist/ui/components/question-dialog.js +0 -181
- package/dist/ui/components/question-dialog.js.map +0 -1
- package/dist/ui/components/quick-actions.d.ts +0 -12
- package/dist/ui/components/quick-actions.js +0 -171
- package/dist/ui/components/quick-actions.js.map +0 -1
- package/dist/ui/components/reasoning-display.d.ts +0 -36
- package/dist/ui/components/reasoning-display.js +0 -46
- package/dist/ui/components/reasoning-display.js.map +0 -1
- package/dist/ui/components/status-bar.d.ts +0 -47
- package/dist/ui/components/status-bar.js +0 -310
- package/dist/ui/components/status-bar.js.map +0 -1
- package/dist/ui/components/subagent-monitor.d.ts +0 -41
- package/dist/ui/components/subagent-monitor.js +0 -122
- package/dist/ui/components/subagent-monitor.js.map +0 -1
- package/dist/ui/components/toast-notification.d.ts +0 -197
- package/dist/ui/components/toast-notification.js +0 -190
- package/dist/ui/components/toast-notification.js.map +0 -1
- package/dist/ui/components/tool-group-display.d.ts +0 -19
- package/dist/ui/components/tool-group-display.js +0 -222
- package/dist/ui/components/tool-group-display.js.map +0 -1
- package/dist/ui/components/virtualized-chat-history.d.ts +0 -33
- package/dist/ui/components/virtualized-chat-history.js +0 -182
- package/dist/ui/components/virtualized-chat-history.js.map +0 -1
- package/dist/ui/components/welcome-panel.d.ts +0 -11
- package/dist/ui/components/welcome-panel.js +0 -225
- package/dist/ui/components/welcome-panel.js.map +0 -1
- package/dist/ui/hooks/use-chat-reducer.d.ts +0 -69
- package/dist/ui/hooks/use-chat-reducer.js +0 -118
- package/dist/ui/hooks/use-chat-reducer.js.map +0 -1
- package/dist/ui/hooks/use-enhanced-input.d.ts +0 -53
- package/dist/ui/hooks/use-enhanced-input.js +0 -1275
- package/dist/ui/hooks/use-enhanced-input.js.map +0 -1
- package/dist/ui/hooks/use-input-handler.d.ts +0 -79
- package/dist/ui/hooks/use-input-handler.js +0 -2251
- package/dist/ui/hooks/use-input-handler.js.map +0 -1
- package/dist/ui/hooks/use-input-history.d.ts +0 -9
- package/dist/ui/hooks/use-input-history.js +0 -168
- package/dist/ui/hooks/use-input-history.js.map +0 -1
- package/dist/ui/shared/max-sized-box.d.ts +0 -17
- package/dist/ui/shared/max-sized-box.js +0 -14
- package/dist/ui/shared/max-sized-box.js.map +0 -1
- package/dist/ui/themes/index.d.ts +0 -5
- package/dist/ui/themes/index.js +0 -5
- package/dist/ui/themes/index.js.map +0 -1
- package/dist/ui/themes/theme-registry.d.ts +0 -55
- package/dist/ui/themes/theme-registry.js +0 -202
- package/dist/ui/themes/theme-registry.js.map +0 -1
- package/dist/ui/utils/bracketed-paste-handler.d.ts +0 -97
- package/dist/ui/utils/bracketed-paste-handler.js +0 -322
- package/dist/ui/utils/bracketed-paste-handler.js.map +0 -1
- package/dist/ui/utils/change-summarizer.d.ts +0 -20
- package/dist/ui/utils/change-summarizer.js +0 -282
- package/dist/ui/utils/change-summarizer.js.map +0 -1
- package/dist/ui/utils/code-colorizer.d.ts +0 -9
- package/dist/ui/utils/code-colorizer.js +0 -13
- package/dist/ui/utils/code-colorizer.js.map +0 -1
- package/dist/ui/utils/colors.d.ts +0 -41
- package/dist/ui/utils/colors.js +0 -80
- package/dist/ui/utils/colors.js.map +0 -1
- package/dist/ui/utils/image-handler.d.ts +0 -29
- package/dist/ui/utils/image-handler.js +0 -129
- package/dist/ui/utils/image-handler.js.map +0 -1
- package/dist/ui/utils/markdown-renderer.d.ts +0 -4
- package/dist/ui/utils/markdown-renderer.js +0 -40
- package/dist/ui/utils/markdown-renderer.js.map +0 -1
- package/dist/ui/utils/semantic-action-detector.d.ts +0 -49
- package/dist/ui/utils/semantic-action-detector.js +0 -339
- package/dist/ui/utils/semantic-action-detector.js.map +0 -1
- package/dist/ui/utils/tool-grouper.d.ts +0 -94
- package/dist/ui/utils/tool-grouper.js +0 -618
- package/dist/ui/utils/tool-grouper.js.map +0 -1
- package/dist/utils/api-error.d.ts +0 -61
- package/dist/utils/api-error.js +0 -176
- package/dist/utils/api-error.js.map +0 -1
- package/dist/utils/audit-logger.d.ts +0 -206
- package/dist/utils/audit-logger.js +0 -286
- package/dist/utils/audit-logger.js.map +0 -1
- package/dist/utils/auto-accept-logger.d.ts +0 -175
- package/dist/utils/auto-accept-logger.js +0 -423
- package/dist/utils/auto-accept-logger.js.map +0 -1
- package/dist/utils/automatosx-detector.d.ts +0 -19
- package/dist/utils/automatosx-detector.js +0 -52
- package/dist/utils/automatosx-detector.js.map +0 -1
- package/dist/utils/background-task-manager.d.ts +0 -114
- package/dist/utils/background-task-manager.js +0 -470
- package/dist/utils/background-task-manager.js.map +0 -1
- package/dist/utils/cache.d.ts +0 -77
- package/dist/utils/cache.js +0 -180
- package/dist/utils/cache.js.map +0 -1
- package/dist/utils/command-security.d.ts +0 -85
- package/dist/utils/command-security.js +0 -210
- package/dist/utils/command-security.js.map +0 -1
- package/dist/utils/config-loader.d.ts +0 -190
- package/dist/utils/config-loader.js +0 -108
- package/dist/utils/config-loader.js.map +0 -1
- package/dist/utils/confirmation-service.d.ts +0 -51
- package/dist/utils/confirmation-service.js +0 -220
- package/dist/utils/confirmation-service.js.map +0 -1
- package/dist/utils/console-messenger.d.ts +0 -80
- package/dist/utils/console-messenger.js +0 -142
- package/dist/utils/console-messenger.js.map +0 -1
- package/dist/utils/custom-instructions.d.ts +0 -1
- package/dist/utils/custom-instructions.js +0 -24
- package/dist/utils/custom-instructions.js.map +0 -1
- package/dist/utils/encryption.d.ts +0 -86
- package/dist/utils/encryption.js +0 -236
- package/dist/utils/encryption.js.map +0 -1
- package/dist/utils/enhanced-error-messages.d.ts +0 -33
- package/dist/utils/enhanced-error-messages.js +0 -440
- package/dist/utils/enhanced-error-messages.js.map +0 -1
- package/dist/utils/error-handler.d.ts +0 -65
- package/dist/utils/error-handler.js +0 -148
- package/dist/utils/error-handler.js.map +0 -1
- package/dist/utils/error-translator.d.ts +0 -25
- package/dist/utils/error-translator.js +0 -203
- package/dist/utils/error-translator.js.map +0 -1
- package/dist/utils/external-editor.d.ts +0 -47
- package/dist/utils/external-editor.js +0 -179
- package/dist/utils/external-editor.js.map +0 -1
- package/dist/utils/file-cache.d.ts +0 -148
- package/dist/utils/file-cache.js +0 -413
- package/dist/utils/file-cache.js.map +0 -1
- package/dist/utils/file-lock.d.ts +0 -141
- package/dist/utils/file-lock.js +0 -554
- package/dist/utils/file-lock.js.map +0 -1
- package/dist/utils/file-mentions.d.ts +0 -68
- package/dist/utils/file-mentions.js +0 -225
- package/dist/utils/file-mentions.js.map +0 -1
- package/dist/utils/history-manager.d.ts +0 -52
- package/dist/utils/history-manager.js +0 -211
- package/dist/utils/history-manager.js.map +0 -1
- package/dist/utils/history-migration.d.ts +0 -9
- package/dist/utils/history-migration.js +0 -37
- package/dist/utils/history-migration.js.map +0 -1
- package/dist/utils/image-processor.d.ts +0 -33
- package/dist/utils/image-processor.js +0 -124
- package/dist/utils/image-processor.js.map +0 -1
- package/dist/utils/index.d.ts +0 -92
- package/dist/utils/index.js +0 -111
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/init-previewer.d.ts +0 -56
- package/dist/utils/init-previewer.js +0 -239
- package/dist/utils/init-previewer.js.map +0 -1
- package/dist/utils/init-validator.d.ts +0 -65
- package/dist/utils/init-validator.js +0 -252
- package/dist/utils/init-validator.js.map +0 -1
- package/dist/utils/input-sanitizer.d.ts +0 -210
- package/dist/utils/input-sanitizer.js +0 -362
- package/dist/utils/input-sanitizer.js.map +0 -1
- package/dist/utils/instruction-generator.d.ts +0 -21
- package/dist/utils/instruction-generator.js +0 -233
- package/dist/utils/instruction-generator.js.map +0 -1
- package/dist/utils/json-utils.d.ts +0 -72
- package/dist/utils/json-utils.js +0 -226
- package/dist/utils/json-utils.js.map +0 -1
- package/dist/utils/llm-optimized-instruction-generator.d.ts +0 -36
- package/dist/utils/llm-optimized-instruction-generator.js +0 -365
- package/dist/utils/llm-optimized-instruction-generator.js.map +0 -1
- package/dist/utils/message-optimizer.d.ts +0 -100
- package/dist/utils/message-optimizer.js +0 -297
- package/dist/utils/message-optimizer.js.map +0 -1
- package/dist/utils/onboarding-manager.d.ts +0 -45
- package/dist/utils/onboarding-manager.js +0 -131
- package/dist/utils/onboarding-manager.js.map +0 -1
- package/dist/utils/parallel-analyzer.d.ts +0 -123
- package/dist/utils/parallel-analyzer.js +0 -241
- package/dist/utils/parallel-analyzer.js.map +0 -1
- package/dist/utils/paste-utils.d.ts +0 -99
- package/dist/utils/paste-utils.js +0 -295
- package/dist/utils/paste-utils.js.map +0 -1
- package/dist/utils/path-helpers.d.ts +0 -8
- package/dist/utils/path-helpers.js +0 -35
- package/dist/utils/path-helpers.js.map +0 -1
- package/dist/utils/path-security.d.ts +0 -92
- package/dist/utils/path-security.js +0 -300
- package/dist/utils/path-security.js.map +0 -1
- package/dist/utils/path-utils.d.ts +0 -83
- package/dist/utils/path-utils.js +0 -122
- package/dist/utils/path-utils.js.map +0 -1
- package/dist/utils/path-validator.d.ts +0 -66
- package/dist/utils/path-validator.js +0 -141
- package/dist/utils/path-validator.js.map +0 -1
- package/dist/utils/performance.d.ts +0 -74
- package/dist/utils/performance.js +0 -133
- package/dist/utils/performance.js.map +0 -1
- package/dist/utils/process-pool.d.ts +0 -109
- package/dist/utils/process-pool.js +0 -332
- package/dist/utils/process-pool.js.map +0 -1
- package/dist/utils/progress-tracker.d.ts +0 -51
- package/dist/utils/progress-tracker.js +0 -152
- package/dist/utils/progress-tracker.js.map +0 -1
- package/dist/utils/project-analyzer.d.ts +0 -49
- package/dist/utils/project-analyzer.js +0 -396
- package/dist/utils/project-analyzer.js.map +0 -1
- package/dist/utils/prompt-builder.d.ts +0 -14
- package/dist/utils/prompt-builder.js +0 -100
- package/dist/utils/prompt-builder.js.map +0 -1
- package/dist/utils/provider-context.d.ts +0 -243
- package/dist/utils/provider-context.js +0 -421
- package/dist/utils/provider-context.js.map +0 -1
- package/dist/utils/provider-file-cache.d.ts +0 -91
- package/dist/utils/provider-file-cache.js +0 -165
- package/dist/utils/provider-file-cache.js.map +0 -1
- package/dist/utils/provider-settings.d.ts +0 -181
- package/dist/utils/provider-settings.js +0 -450
- package/dist/utils/provider-settings.js.map +0 -1
- package/dist/utils/rate-limiter.d.ts +0 -222
- package/dist/utils/rate-limiter.js +0 -338
- package/dist/utils/rate-limiter.js.map +0 -1
- package/dist/utils/retry-helper.d.ts +0 -81
- package/dist/utils/retry-helper.js +0 -244
- package/dist/utils/retry-helper.js.map +0 -1
- package/dist/utils/safety-rules.d.ts +0 -64
- package/dist/utils/safety-rules.js +0 -225
- package/dist/utils/safety-rules.js.map +0 -1
- package/dist/utils/settings-manager.d.ts +0 -256
- package/dist/utils/settings-manager.js +0 -967
- package/dist/utils/settings-manager.js.map +0 -1
- package/dist/utils/setup-validator.d.ts +0 -47
- package/dist/utils/setup-validator.js +0 -304
- package/dist/utils/setup-validator.js.map +0 -1
- package/dist/utils/string-utils.d.ts +0 -19
- package/dist/utils/string-utils.js +0 -28
- package/dist/utils/string-utils.js.map +0 -1
- package/dist/utils/template-manager.d.ts +0 -62
- package/dist/utils/template-manager.js +0 -366
- package/dist/utils/template-manager.js.map +0 -1
- package/dist/utils/text-utils.d.ts +0 -82
- package/dist/utils/text-utils.js +0 -203
- package/dist/utils/text-utils.js.map +0 -1
- package/dist/utils/token-counter.d.ts +0 -76
- package/dist/utils/token-counter.js +0 -231
- package/dist/utils/token-counter.js.map +0 -1
- package/dist/utils/usage-tracker.d.ts +0 -78
- package/dist/utils/usage-tracker.js +0 -126
- package/dist/utils/usage-tracker.js.map +0 -1
- package/dist/utils/version.d.ts +0 -14
- package/dist/utils/version.js +0 -70
- package/dist/utils/version.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,149 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defai.digital/ax-cli",
|
|
3
|
-
"version": "4.4.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"packages
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"./sdk": {
|
|
17
|
-
"import": "./dist/sdk/index.js",
|
|
18
|
-
"types": "./dist/sdk/index.d.ts"
|
|
19
|
-
},
|
|
20
|
-
"./sdk/types": {
|
|
21
|
-
"import": "./dist/sdk/types.js",
|
|
22
|
-
"types": "./dist/sdk/types.d.ts"
|
|
23
|
-
}
|
|
3
|
+
"version": "4.4.10",
|
|
4
|
+
"description": "Enterprise-Class AI Command Line Interface with cool theme (blue, purple, green)",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/defai-digital/ax-cli.git",
|
|
8
|
+
"directory": "packages/ax-cli"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/defai-digital/ax-cli#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/defai-digital/ax-cli/issues"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
24
16
|
},
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
25
20
|
"bin": {
|
|
26
|
-
"ax-cli": "bin/ax-cli"
|
|
21
|
+
"ax-cli": "./bin/ax-cli"
|
|
27
22
|
},
|
|
28
23
|
"files": [
|
|
29
24
|
"dist",
|
|
30
|
-
"bin"
|
|
31
|
-
"config-defaults",
|
|
32
|
-
".ax-cli",
|
|
33
|
-
"LICENSE",
|
|
34
|
-
"README.md"
|
|
25
|
+
"bin"
|
|
35
26
|
],
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
"grok",
|
|
43
|
-
"xai",
|
|
44
|
-
"z-ai",
|
|
45
|
-
"thinking-mode",
|
|
46
|
-
"vision",
|
|
47
|
-
"web-search",
|
|
48
|
-
"mcp",
|
|
49
|
-
"model-context-protocol",
|
|
50
|
-
"automatosx",
|
|
51
|
-
"ai-agent",
|
|
52
|
-
"multi-provider",
|
|
53
|
-
"code-generation",
|
|
54
|
-
"developer-tools",
|
|
55
|
-
"sdk",
|
|
56
|
-
"programmatic-api"
|
|
57
|
-
],
|
|
58
|
-
"author": "DEFAI Digital <https://defai.digital>",
|
|
59
|
-
"license": "MIT",
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsc -b",
|
|
29
|
+
"clean": "rm -rf dist",
|
|
30
|
+
"typecheck": "tsc --noEmit",
|
|
31
|
+
"start": "node ./dist/index.js"
|
|
32
|
+
},
|
|
60
33
|
"dependencies": {
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"clipboardy": "^5.0.1",
|
|
68
|
-
"commander": "^14.0.2",
|
|
69
|
-
"dotenv": "^17.2.3",
|
|
70
|
-
"enquirer": "^2.4.1",
|
|
71
|
-
"fs-extra": "^11.2.0",
|
|
72
|
-
"glob": "^13.0.0",
|
|
73
|
-
"ink": "^6.5.1",
|
|
74
|
-
"ink-spinner": "^5.0.0",
|
|
75
|
-
"js-yaml": "^4.1.1",
|
|
76
|
-
"marked": "^15.0.12",
|
|
77
|
-
"marked-terminal": "^7.3.0",
|
|
78
|
-
"node-cache": "^5.1.2",
|
|
79
|
-
"openai": "^6.10.0",
|
|
80
|
-
"react": "^19.2.1",
|
|
81
|
-
"ripgrep-node": "^1.0.0",
|
|
82
|
-
"simple-git": "^3.30.0",
|
|
83
|
-
"tiktoken": "^1.0.21",
|
|
84
|
-
"ts-morph": "^27.0.2",
|
|
85
|
-
"ws": "^8.18.3",
|
|
86
|
-
"zod": "^4.1.13",
|
|
87
|
-
"@defai.digital/ax-core": "4.4.6"
|
|
34
|
+
"@defai.digital/ax-core": "workspace:*",
|
|
35
|
+
"@inquirer/prompts": "^7.2.0",
|
|
36
|
+
"chalk": "^5.4.1",
|
|
37
|
+
"commander": "^13.0.0",
|
|
38
|
+
"ora": "^8.1.1",
|
|
39
|
+
"which": "^5.0.0"
|
|
88
40
|
},
|
|
89
41
|
"devDependencies": {
|
|
90
|
-
"@types/
|
|
91
|
-
"@types/
|
|
92
|
-
"
|
|
93
|
-
"@types/marked-terminal": "^6.1.1",
|
|
94
|
-
"@types/node": "^24.10.1",
|
|
95
|
-
"@types/react": "^19.2.7",
|
|
96
|
-
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
97
|
-
"@typescript-eslint/parser": "^8.48.1",
|
|
98
|
-
"@vitest/coverage-v8": "^4.0.15",
|
|
99
|
-
"@vitest/ui": "^4.0.15",
|
|
100
|
-
"eslint": "^9.31.0",
|
|
101
|
-
"husky": "^9.1.7",
|
|
102
|
-
"lint-staged": "^16.2.7",
|
|
103
|
-
"tsx": "^4.21.0",
|
|
104
|
-
"typescript": "^5.9.3",
|
|
105
|
-
"vitest": "^4.0.15"
|
|
42
|
+
"@types/node": "^22.10.1",
|
|
43
|
+
"@types/which": "^3.0.4",
|
|
44
|
+
"typescript": "^5.7.2"
|
|
106
45
|
},
|
|
107
46
|
"engines": {
|
|
108
|
-
"node": ">=
|
|
109
|
-
},
|
|
110
|
-
"os": [
|
|
111
|
-
"darwin",
|
|
112
|
-
"linux",
|
|
113
|
-
"win32"
|
|
114
|
-
],
|
|
115
|
-
"publishConfig": {
|
|
116
|
-
"access": "public"
|
|
117
|
-
},
|
|
118
|
-
"repository": {
|
|
119
|
-
"type": "git",
|
|
120
|
-
"url": "https://github.com/defai-digital/ax-cli.git"
|
|
121
|
-
},
|
|
122
|
-
"bugs": {
|
|
123
|
-
"url": "https://github.com/defai-digital/ax-cli/issues"
|
|
47
|
+
"node": ">=20.0.0"
|
|
124
48
|
},
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"build:schemas": "pnpm --filter @defai.digital/ax-schemas build",
|
|
135
|
-
"build:core": "pnpm --filter @defai.digital/ax-core build",
|
|
136
|
-
"build:glm": "pnpm --filter @defai.digital/ax-glm build",
|
|
137
|
-
"build:grok": "pnpm --filter @defai.digital/ax-grok build",
|
|
138
|
-
"build:legacy": "npm run build:schemas && tsc && chmod +x dist/index.js",
|
|
139
|
-
"dev": "tsx src/index.ts",
|
|
140
|
-
"start": "node dist/index.js",
|
|
141
|
-
"pretest": "npm run build:schemas",
|
|
142
|
-
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
143
|
-
"typecheck": "pnpm -r typecheck",
|
|
144
|
-
"test": "vitest run",
|
|
145
|
-
"test:watch": "vitest",
|
|
146
|
-
"test:ui": "vitest --ui",
|
|
147
|
-
"test:coverage": "vitest run --coverage"
|
|
148
|
-
}
|
|
149
|
-
}
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"keywords": [
|
|
51
|
+
"ai",
|
|
52
|
+
"cli",
|
|
53
|
+
"coding-assistant",
|
|
54
|
+
"glm",
|
|
55
|
+
"grok"
|
|
56
|
+
]
|
|
57
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 DEFAI Private Limited
|
|
4
|
-
Licensed under the MIT License https://github.com/defai-digital/ax-cli
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
package/README.md
DELETED
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
# AX CLI - Enterprise-Class Vibe Coding
|
|
2
|
-
|
|
3
|
-
[](https://npm-stat.com/charts.html?package=%40defai.digital%2Fax-cli)
|
|
4
|
-
[](https://github.com/defai-digital/ax-cli/actions/workflows/test.yml)
|
|
5
|
-
[](https://github.com/defai-digital/ax-cli)
|
|
6
|
-
[](https://nodejs.org/)
|
|
7
|
-
[](https://opensource.org/licenses/MIT)
|
|
8
|
-
|
|
9
|
-
## Table of Contents
|
|
10
|
-
|
|
11
|
-
- [Quick Start](#quick-start)
|
|
12
|
-
- [Why AX CLI?](#why-ax-cli)
|
|
13
|
-
- [Supported Models](#supported-models)
|
|
14
|
-
- [Installation](#installation)
|
|
15
|
-
- [Usage](#usage)
|
|
16
|
-
- [Configuration](#configuration)
|
|
17
|
-
- [MCP Integration](#mcp-integration)
|
|
18
|
-
- [VSCode Extension](#vscode-extension)
|
|
19
|
-
- [Project Memory](#project-memory)
|
|
20
|
-
- [Security](#security)
|
|
21
|
-
- [Architecture](#architecture)
|
|
22
|
-
- [Packages](#packages)
|
|
23
|
-
- [Changelog](#changelog)
|
|
24
|
-
- [Documentation](#documentation)
|
|
25
|
-
- [Enterprise](#enterprise)
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
<p align="center">
|
|
30
|
-
<img src=".github/assets/glm.png" alt="AX-GLM" width="400"/>
|
|
31
|
-
<img src=".github/assets/grok.png" alt="AX-Grok" width="400"/>
|
|
32
|
-
</p>
|
|
33
|
-
|
|
34
|
-
<p align="center">
|
|
35
|
-
<strong>Enterprise-grade AI coding assistant optimized for GLM and Grok</strong>
|
|
36
|
-
</p>
|
|
37
|
-
|
|
38
|
-
## Quick Start
|
|
39
|
-
|
|
40
|
-
Get started in under a minute. Choose your AI provider and install the dedicated CLI:
|
|
41
|
-
|
|
42
|
-
<table>
|
|
43
|
-
<tr>
|
|
44
|
-
<td width="50%">
|
|
45
|
-
|
|
46
|
-
### GLM (Z.AI)
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
npm install -g @defai.digital/ax-glm
|
|
50
|
-
ax-glm setup
|
|
51
|
-
ax-glm
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
**Best for:** 200K context, thinking mode, Chinese language support
|
|
55
|
-
|
|
56
|
-
</td>
|
|
57
|
-
<td width="50%">
|
|
58
|
-
|
|
59
|
-
### Grok (xAI)
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
npm install -g @defai.digital/ax-grok
|
|
63
|
-
ax-grok setup
|
|
64
|
-
ax-grok
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
**Best for:** Live web search, vision, extended reasoning
|
|
68
|
-
|
|
69
|
-
</td>
|
|
70
|
-
</tr>
|
|
71
|
-
</table>
|
|
72
|
-
|
|
73
|
-
Run `/init` inside the CLI to initialize your project context.
|
|
74
|
-
|
|
75
|
-
> **Which CLI should I install?** Install `ax-glm` if you have a Z.AI API key, or `ax-grok` if you have an xAI API key. Both provide the same full-featured coding assistant, optimized for their respective providers.
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## Why AX CLI?
|
|
80
|
-
|
|
81
|
-
| Feature | Description |
|
|
82
|
-
|---------|-------------|
|
|
83
|
-
| **Provider Optimized** | First-class support for GLM (Z.AI) and Grok (xAI) with provider-specific parameters |
|
|
84
|
-
| **17 Built-in Tools** | File editing, bash execution, search, todos, and more |
|
|
85
|
-
| **MCP Integration** | Model Context Protocol with 12+ production-ready templates |
|
|
86
|
-
| **Project Memory** | Intelligent context caching with 50% token savings |
|
|
87
|
-
| **Enterprise Security** | AES-256-GCM encryption, no telemetry, CVSS-rated protections |
|
|
88
|
-
| **98%+ Test Coverage** | 3725+ tests with strict TypeScript |
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## Supported Models
|
|
93
|
-
|
|
94
|
-
### GLM (Z.AI)
|
|
95
|
-
|
|
96
|
-
| Model | Context | Features | Alias |
|
|
97
|
-
|-------|---------|----------|-------|
|
|
98
|
-
| `glm-4.6` | 200K | **Thinking mode**: detailed thought processes and planning | `glm-latest` |
|
|
99
|
-
| `glm-4.6v` | 128K | **Vision + Thinking**: latest vision model with native multimodal function calling | `glm-vision` |
|
|
100
|
-
| `glm-4-flash` | 128K | Fast, efficient for quick tasks | `glm-fast` |
|
|
101
|
-
| `cogview-4` | - | **Image generation**: text-to-image with variable resolutions | `glm-image` |
|
|
102
|
-
|
|
103
|
-
### Grok (xAI)
|
|
104
|
-
|
|
105
|
-
> **Grok 4 only**: ax-grok now exclusively supports Grok 4, which has **all capabilities built-in**: vision, extended thinking (reasoning_effort), and live web search.
|
|
106
|
-
|
|
107
|
-
| Model | Context | Features | Alias |
|
|
108
|
-
|-------|---------|----------|-------|
|
|
109
|
-
| `grok-4-0709` | 131K | **Most capable**: reasoning, coding, vision, search (default) | `grok-latest` |
|
|
110
|
-
| `grok-4.1-fast` | 131K | Fast variant with agent tools support | `grok-fast` |
|
|
111
|
-
| `grok-2-image-1212` | 32K | **Image generation**: text-to-image | `grok-image` |
|
|
112
|
-
|
|
113
|
-
> **Model Aliases**: Use convenient aliases like `ax-grok -m grok-latest` instead of full model names.
|
|
114
|
-
|
|
115
|
-
### Local/Offline Models (ax-cli)
|
|
116
|
-
|
|
117
|
-
For local inference via Ollama, LMStudio, or vLLM, use `ax-cli`:
|
|
118
|
-
|
|
119
|
-
```bash
|
|
120
|
-
npm install -g @defai.digital/ax-cli
|
|
121
|
-
ax-cli setup # Select "Local/Offline"
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
**2025 Offline Coding LLM Rankings:**
|
|
125
|
-
|
|
126
|
-
| Tier | Model | Score | Best For |
|
|
127
|
-
|------|-------|-------|----------|
|
|
128
|
-
| **T1** | Qwen 3 (8B/14B/32B/72B) | 9.6/10 | **Best overall** - coding, refactor, debug leader. Best Claude Code alternative |
|
|
129
|
-
| **T2** | GLM-4.6 (9B/32B) | 9.4/10 | **Best for refactor + docs** - 9B rivals Qwen 14B, excellent long context reasoning |
|
|
130
|
-
| **T3** | DeepSeek-Coder V2 (7B/16B) | 9.3/10 | **Best speed/value** - 7B performs like 13B, great for edge devices |
|
|
131
|
-
| **T4** | Codestral / Mistral | 8.4/10 | **C/C++/Rust** - strong in systems languages, good supplement |
|
|
132
|
-
| **T5** | Llama 3.1 / CodeLlama | 8.1/10 | **Best fallback** - most compatible, works with all frameworks |
|
|
133
|
-
|
|
134
|
-
> **Recommendation**: Use **Qwen 3** as your primary model, **GLM-4.6** for large refactors and documentation, **DeepSeek** for fast iterations, and **Llama** as fallback.
|
|
135
|
-
|
|
136
|
-
---
|
|
137
|
-
|
|
138
|
-
## Installation
|
|
139
|
-
|
|
140
|
-
### Requirements
|
|
141
|
-
|
|
142
|
-
- Node.js 24.0.0+
|
|
143
|
-
- macOS 14+, Windows 11+, or Ubuntu 24.04+
|
|
144
|
-
|
|
145
|
-
### Install
|
|
146
|
-
|
|
147
|
-
```bash
|
|
148
|
-
# Choose your provider
|
|
149
|
-
npm install -g @defai.digital/ax-glm # GLM (Z.AI)
|
|
150
|
-
npm install -g @defai.digital/ax-grok # Grok (xAI)
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
### Setup
|
|
154
|
-
|
|
155
|
-
```bash
|
|
156
|
-
ax-glm setup # or ax-grok setup
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
The setup wizard will guide you through:
|
|
160
|
-
1. Securely encrypting and storing your API key (using AES-256-GCM encryption).
|
|
161
|
-
2. Configuring your default AI model and other preferences.
|
|
162
|
-
3. Validating your configuration to ensure everything is set up correctly.
|
|
163
|
-
|
|
164
|
-
---
|
|
165
|
-
|
|
166
|
-
## Usage
|
|
167
|
-
|
|
168
|
-
### Interactive Mode
|
|
169
|
-
|
|
170
|
-
```bash
|
|
171
|
-
ax-glm # Starts the interactive CLI session
|
|
172
|
-
ax-glm --continue # Resume previous conversation
|
|
173
|
-
ax-glm -c # Short form
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
### Headless Mode
|
|
177
|
-
|
|
178
|
-
```bash
|
|
179
|
-
ax-glm -p "analyze this codebase"
|
|
180
|
-
ax-glm -p "fix TypeScript errors" -d /path/to/project
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
### Essential Commands
|
|
184
|
-
|
|
185
|
-
| Command | Description |
|
|
186
|
-
|---------|-------------|
|
|
187
|
-
| `/init` | Initialize project context |
|
|
188
|
-
| `/help` | Show all commands |
|
|
189
|
-
| `/models` | Switch AI model |
|
|
190
|
-
| `/doctor` | Run diagnostics |
|
|
191
|
-
| `/exit` | Exit CLI |
|
|
192
|
-
|
|
193
|
-
### Keyboard Shortcuts
|
|
194
|
-
|
|
195
|
-
| Shortcut | Action | Description |
|
|
196
|
-
|----------|--------|-------------|
|
|
197
|
-
| `Ctrl+O` | Toggle verbosity | Show or hide detailed logs and internal processes |
|
|
198
|
-
| `Ctrl+K` | Quick actions | Open the quick actions menu for common commands |
|
|
199
|
-
| `Ctrl+B` | Background mode | Run the current task in the background |
|
|
200
|
-
| `Shift+Tab` | Auto-edit | Trigger AI-powered code suggestions |
|
|
201
|
-
| `Esc` ×2 | Cancel | Clear current input or cancel ongoing operation |
|
|
202
|
-
|
|
203
|
-
---
|
|
204
|
-
|
|
205
|
-
## Configuration
|
|
206
|
-
|
|
207
|
-
### Config Files
|
|
208
|
-
|
|
209
|
-
| File | Purpose |
|
|
210
|
-
|------|---------|
|
|
211
|
-
| `~/.ax-glm/config.json` | User settings (encrypted API key) |
|
|
212
|
-
| `.ax-glm/settings.json` | Project overrides |
|
|
213
|
-
| `.ax-glm/CUSTOM.md` | Custom AI instructions |
|
|
214
|
-
| `ax.index.json` | Shared project index (at root, used by all CLIs) |
|
|
215
|
-
|
|
216
|
-
> Grok uses `~/.ax-grok/` and `.ax-grok/` directories. The `ax.index.json` is shared.
|
|
217
|
-
|
|
218
|
-
### Environment Variables
|
|
219
|
-
|
|
220
|
-
```bash
|
|
221
|
-
# For CI/CD
|
|
222
|
-
export ZAI_API_KEY=your_key # GLM
|
|
223
|
-
export XAI_API_KEY=your_key # Grok
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
---
|
|
227
|
-
|
|
228
|
-
## MCP Integration
|
|
229
|
-
|
|
230
|
-
Extend capabilities with [Model Context Protocol (MCP)](https://modelcontextprotocol.io) — an open standard for connecting AI assistants to external tools, APIs, and data sources:
|
|
231
|
-
|
|
232
|
-
```bash
|
|
233
|
-
ax-glm mcp add figma --template
|
|
234
|
-
ax-glm mcp add github --template
|
|
235
|
-
ax-glm mcp list
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
**Available Templates:** Figma, GitHub, Vercel, Puppeteer, Storybook, Sentry, Jira, Confluence, Slack, Google Drive, and more.
|
|
239
|
-
|
|
240
|
-
---
|
|
241
|
-
|
|
242
|
-
## VSCode Extension
|
|
243
|
-
|
|
244
|
-
```bash
|
|
245
|
-
code --install-extension defai-digital.ax-cli-vscode
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
- Sidebar chat panel
|
|
249
|
-
- Diff preview for file changes
|
|
250
|
-
- Context-aware commands
|
|
251
|
-
- Checkpoint & rewind system
|
|
252
|
-
|
|
253
|
-
---
|
|
254
|
-
|
|
255
|
-
## Project Memory
|
|
256
|
-
|
|
257
|
-
Reduce token costs and improve context recall with intelligent caching that stores and retrieves relevant project information, avoiding redundant processing.
|
|
258
|
-
|
|
259
|
-
```bash
|
|
260
|
-
ax-glm memory warmup # Generate context cache
|
|
261
|
-
ax-glm memory status # View token distribution
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
---
|
|
265
|
-
|
|
266
|
-
## Security
|
|
267
|
-
|
|
268
|
-
- **API Key Encryption:** AES-256-GCM with PBKDF2 (600K iterations)
|
|
269
|
-
- **No Telemetry:** Zero data collection
|
|
270
|
-
- **CVSS Protections:** Robust safeguards against common vulnerabilities like Command Injection (CVSS 9.8), Path Traversal (CVSS 8.6), and SSRF (CVSS 7.5).
|
|
271
|
-
|
|
272
|
-
---
|
|
273
|
-
|
|
274
|
-
## Architecture
|
|
275
|
-
|
|
276
|
-
AX CLI uses a modular architecture with provider-specific CLIs built on a shared core:
|
|
277
|
-
|
|
278
|
-
```
|
|
279
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
280
|
-
│ User Installs │
|
|
281
|
-
├─────────────────────────────┬───────────────────────────────┤
|
|
282
|
-
│ @defai.digital/ax-glm │ @defai.digital/ax-grok │
|
|
283
|
-
│ (ax-glm CLI) │ (ax-grok CLI) │
|
|
284
|
-
│ │ │
|
|
285
|
-
│ • GLM-4.6 thinking mode │ • Grok 3 extended reasoning │
|
|
286
|
-
│ • Z.AI API defaults │ • xAI API defaults │
|
|
287
|
-
│ • 200K context window │ • Live web search │
|
|
288
|
-
│ • ~/.ax-glm/ config │ • ~/.ax-grok/ config │
|
|
289
|
-
├─────────────────────────────┴───────────────────────────────┤
|
|
290
|
-
│ @defai.digital/ax-core │
|
|
291
|
-
│ │
|
|
292
|
-
│ Shared functionality: 17 tools, MCP client, memory, │
|
|
293
|
-
│ checkpoints, React/Ink UI, file operations, git support │
|
|
294
|
-
└─────────────────────────────────────────────────────────────┘
|
|
295
|
-
```
|
|
296
|
-
|
|
297
|
-
**Why separate CLIs?**
|
|
298
|
-
- **Isolated configuration:** Run `ax-glm` and `ax-grok` simultaneously without conflicts
|
|
299
|
-
- **Provider optimization:** Each CLI has tuned defaults for its AI provider
|
|
300
|
-
- **Cleaner setup:** `ax-glm setup` only asks for Z.AI config, `ax-grok setup` only asks for xAI config
|
|
301
|
-
|
|
302
|
-
---
|
|
303
|
-
|
|
304
|
-
## Packages
|
|
305
|
-
|
|
306
|
-
| Package | Install? | Description |
|
|
307
|
-
|---------|:--------:|-------------|
|
|
308
|
-
| [@defai.digital/ax-glm](https://www.npmjs.com/package/@defai.digital/ax-glm) | **Yes** | GLM-optimized CLI with web search, vision, image generation |
|
|
309
|
-
| [@defai.digital/ax-grok](https://www.npmjs.com/package/@defai.digital/ax-grok) | **Yes** | Grok-optimized CLI with web search, vision, extended thinking |
|
|
310
|
-
| [@defai.digital/ax-cli](https://www.npmjs.com/package/@defai.digital/ax-cli) | Optional | Local-first CLI for Ollama/LMStudio/vLLM + DeepSeek Cloud |
|
|
311
|
-
| [@defai.digital/ax-core](https://www.npmjs.com/package/@defai.digital/ax-core) | No | Shared core library (auto-installed as dependency) |
|
|
312
|
-
| [@defai.digital/ax-schemas](https://www.npmjs.com/package/@defai.digital/ax-schemas) | No | Shared Zod schemas (auto-installed as dependency) |
|
|
313
|
-
|
|
314
|
-
---
|
|
315
|
-
|
|
316
|
-
## Changelog
|
|
317
|
-
|
|
318
|
-
Stay up-to-date with the latest improvements and features.
|
|
319
|
-
|
|
320
|
-
### Recent Highlights:
|
|
321
|
-
|
|
322
|
-
* **v4.4.6**: Documentation update - Updated and refreshed documentation across the project.
|
|
323
|
-
* **v4.4.5**: Package metadata update - Updated descriptions and keywords for all packages to better reflect current features: vibe coding, thinking mode, vision, web search, MCP integration, and AutomatosX agent system. Added ax.summary.json for faster prompt context loading.
|
|
324
|
-
* **v4.4.4**: ax-grok setup fix - Fixed xAI model validation during setup. The `/models` endpoint returns only actual model IDs (e.g., `grok-4-0709`) but not aliases (e.g., `grok-4`). Setup now correctly recognizes model aliases and validates them against available versioned models.
|
|
325
|
-
* **v4.4.3**: Context optimization fix - Fixed project context injection that was consuming 65% of context at startup. Reduced from 69,000 tokens to 145 tokens (99.8% reduction). AI can still read full ax.index.json via view_file when needed.
|
|
326
|
-
* **v4.4.1**: Production-level system prompt - Complete rewrite of AI assistant prompts following Claude Code best practices. New 11-section structure: Thinking Loop (understand→plan→execute→verify→summarize), Autonomy (proactive behaviors, ask-with-default pattern), Context Management, Tools & Execution with fallbacks, Verification Protocol, Safety (prompt injection defense, banned commands, secrets), Code Quality, 11 Scenario Playbooks, Communication templates, AI Agents orchestration, and When Uncertain decision path. Scored 8/10 by architecture, security, and quality agents for production parity.
|
|
327
|
-
* **v4.4.0**: ax-grok connection fix - Fixed xAI API authentication validation to properly handle xAI's unique error responses (400 for invalid keys vs 401 for missing auth). Restored legacy Grok models (grok-3, grok-3-mini, grok-2-1212, grok-2-vision-1212, grok-beta, grok-vision-beta) for backward compatibility with existing user configurations.
|
|
328
|
-
* **v4.3.19**: /init always rebuilds ax.index.json - Running `/init` (without --force) now always rebuilds the `ax.index.json` project index. Only CUSTOM.md requires `--force` to overwrite. This ensures the project index stays up-to-date with project changes.
|
|
329
|
-
* **v4.3.18**: Enhanced Project Context - `/init` now generates high-value contextual information for AI assistants: module map (directory purposes, patterns, examples), key abstractions (interfaces, classes, design patterns), import conventions with examples, how-to guides for common tasks (build, test, add commands/tools), and configuration patterns. This provides actionable context rather than just metrics.
|
|
330
|
-
* **v4.3.17**: Deep Project Analysis - New tiered analysis system for `/init` command. Default Tier 3 provides comprehensive architecture analysis including dependency graphs, circular dependency detection, module fan-in/fan-out metrics, hotspot detection, and code quality metrics. Shared `ax.index.json` at project root used by all CLIs (ax-cli, ax-glm, ax-grok). Optional Tier 4 security analysis available via settings.
|
|
331
|
-
* **v4.3.16**: Grok 4 exclusive - ax-grok now exclusively supports Grok 4 models (grok-4-0709, grok-4.1-fast) which have all capabilities built-in: vision, extended thinking (reasoning_effort), and live web search. Legacy Grok 3/2 models removed. Updated default model from grok-3 to grok-4-0709.
|
|
332
|
-
* **v4.3.15**: Streamlined setup flow - New quick setup option reduces setup questions from 5-7 to just 4 (server → API key → model → "use defaults?"). Quick setup automatically installs AutomatosX and runs `ax setup -f`. Added separate vision model selection step for providers with vision support. Users can still access detailed configuration by declining quick setup.
|
|
333
|
-
* **v4.3.14**: CLI architecture refinement - Separated ax-cli as standalone base CLI without GLM/Grok-specific features. ax-glm and ax-grok remain as dedicated CLIs with full provider-specific features (web search, vision, image generation). Users should install ax-glm or ax-grok directly for advanced features.
|
|
334
|
-
* **v4.3.13**: UI refresh and bug fixes - Updated ASCII branding for AX-GLM and AX-GROK, fixed parseInt validation in design commands to prevent NaN errors, improved retry-helper documentation, refined welcome panel avatar animations.
|
|
335
|
-
* **v4.3.12**: Transport cleanup improvements - Added `destroy()` methods to SSETransport and StreamableHttpTransport classes for complete EventEmitter cleanup coverage.
|
|
336
|
-
* **v4.3.11**: Code quality improvements - Added `destroy()` methods to all EventEmitter classes to prevent memory leaks, fixed duplicate function implementations, improved resource cleanup across MCP, agent, and SDK modules.
|
|
337
|
-
* **v4.3.10**: Bug fixes - Fixed `mcp remove` command failing when server not connected, added `.unref()` to timer intervals to prevent process exit blocking, fixed TypeScript `any` type errors in doctor.ts and mcp-migrate.ts.
|
|
338
|
-
* **v4.3.9**: Fixed `/usage` slash command to show xAI/Grok info instead of GLM when using ax-grok.
|
|
339
|
-
* **v4.3.8**: New models and features - Added Grok 4 (`grok-4-0709`, `grok-4.1-fast`) and GLM 4.6V models, model alias system (`grok-latest`, `glm-fast`), fixed `/usage` CLI command for xAI with accurate Grok pricing, fixed reasoning_effort for Grok 4 models.
|
|
340
|
-
* **v4.3.7**: Bug fixes - Fixed ax-grok web search (native search instructions now added regardless of MCP tools), fixed temp file cleanup in history manager.
|
|
341
|
-
* **v4.3.6**: Code quality improvements - ESLint configuration updates, TypeScript strict mode fixes, and dependency updates.
|
|
342
|
-
* **v4.3.5**: Tool Priority System refactoring - improved code quality, reduced duplication, performance optimizations, and bug fixes.
|
|
343
|
-
* **v4.3.4**: Improved AutomatosX MCP agent output formatting (clean, readable results instead of raw NDJSON).
|
|
344
|
-
* **v4.3.3**: Stability improvements and code cleanup.
|
|
345
|
-
* **v4.3.2**: Fixed Enter key not working in certain terminal environments.
|
|
346
|
-
* **v4.3.1**: Minor stability improvements and bug fixes.
|
|
347
|
-
* **v4.3.0**: Major upgrade to MCP client (V2) with enhanced resource handling and connection reliability.
|
|
348
|
-
* **v4.2.0**: Introduced provider-specific MCP configurations, allowing `ax-glm` and `ax-grok` to run simultaneously without conflicts.
|
|
349
|
-
|
|
350
|
-
For a complete history of changes, please refer to the [full release notes on GitHub](https://github.com/defai-digital/ax-cli/releases).
|
|
351
|
-
|
|
352
|
-
---
|
|
353
|
-
|
|
354
|
-
## Documentation
|
|
355
|
-
|
|
356
|
-
- [Features](docs/features.md)
|
|
357
|
-
- [Configuration](docs/configuration.md)
|
|
358
|
-
- [CLI Reference](docs/cli-reference.md)
|
|
359
|
-
- [MCP Integration](docs/mcp.md)
|
|
360
|
-
- [VSCode Guide](docs/vscode-integration-guide.md)
|
|
361
|
-
- [Figma Integration](docs/figma-guide.md)
|
|
362
|
-
- [Troubleshooting](docs/troubleshooting.md)
|
|
363
|
-
|
|
364
|
-
---
|
|
365
|
-
|
|
366
|
-
## Enterprise
|
|
367
|
-
|
|
368
|
-
For teams requiring advanced capabilities:
|
|
369
|
-
|
|
370
|
-
- Compliance reports (SOC2, HIPAA)
|
|
371
|
-
- Advanced audit logging
|
|
372
|
-
- SSO/SAML integration
|
|
373
|
-
- Priority support (24-hour SLA)
|
|
374
|
-
|
|
375
|
-
Contact: **sales@defai.digital**
|
|
376
|
-
|
|
377
|
-
---
|
|
378
|
-
|
|
379
|
-
## License
|
|
380
|
-
|
|
381
|
-
MIT License - see [LICENSE](LICENSE)
|
|
382
|
-
|
|
383
|
-
---
|
|
384
|
-
|
|
385
|
-
<p align="center">
|
|
386
|
-
Made with ❤️ by <a href="https://github.com/defai-digital">DEFAI Digital</a>
|
|
387
|
-
</p>
|