@georgedong32/ccs 7.67.0 → 7.67.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.
- package/.claude/commands/opsx/apply.md +152 -0
- package/.claude/commands/opsx/archive.md +157 -0
- package/.claude/commands/opsx/continue.md +114 -0
- package/.claude/commands/opsx/explore.md +173 -0
- package/.claude/commands/opsx/ff.md +97 -0
- package/.claude/commands/opsx/new.md +69 -0
- package/.claude/commands/opsx/propose.md +106 -0
- package/.claude/commands/opsx/sync.md +134 -0
- package/.claude/commands/opsx/verify.md +164 -0
- package/.claude/settings.local.json +51 -1
- package/dist/auth/commands/create-command-env.d.ts +1 -0
- package/dist/auth/commands/create-command-env.d.ts.map +1 -1
- package/dist/channels/official-channels-runtime.d.ts +1 -0
- package/dist/channels/official-channels-runtime.d.ts.map +1 -1
- package/dist/channels/official-channels-store.d.ts +1 -0
- package/dist/channels/official-channels-store.d.ts.map +1 -1
- package/dist/cliproxy/base-config-loader.d.ts +1 -0
- package/dist/cliproxy/base-config-loader.d.ts.map +1 -1
- package/dist/cliproxy/config/env-builder.d.ts +1 -0
- package/dist/cliproxy/config/env-builder.d.ts.map +1 -1
- package/dist/cliproxy/config/extended-context-config.d.ts +1 -0
- package/dist/cliproxy/config/extended-context-config.d.ts.map +1 -1
- package/dist/cliproxy/config/thinking-config.d.ts +1 -0
- package/dist/cliproxy/config/thinking-config.d.ts.map +1 -1
- package/dist/cliproxy/model-id-normalizer.d.ts +1 -0
- package/dist/cliproxy/model-id-normalizer.d.ts.map +1 -1
- package/dist/commands/command-catalog.d.ts +1 -1
- package/dist/commands/command-catalog.d.ts.map +1 -1
- package/dist/commands/cursor-command-display.d.ts.map +1 -1
- package/dist/commands/cursor-command-display.js +1 -0
- package/dist/commands/cursor-command-display.js.map +1 -1
- package/dist/commands/cursor-command.d.ts.map +1 -1
- package/dist/commands/cursor-command.js +41 -0
- package/dist/commands/cursor-command.js.map +1 -1
- package/dist/commands/cursor-usage-display.d.ts +29 -0
- package/dist/commands/cursor-usage-display.d.ts.map +1 -0
- package/dist/commands/cursor-usage-display.js +107 -0
- package/dist/commands/cursor-usage-display.js.map +1 -0
- package/dist/cursor/constants.d.ts +1 -1
- package/dist/cursor/constants.d.ts.map +1 -1
- package/dist/cursor/constants.js +1 -0
- package/dist/cursor/constants.js.map +1 -1
- package/dist/cursor/cursor-anthropic-response.d.ts +1 -0
- package/dist/cursor/cursor-anthropic-response.d.ts.map +1 -1
- package/dist/cursor/cursor-executor.d.ts +1 -0
- package/dist/cursor/cursor-executor.d.ts.map +1 -1
- package/dist/docker/docker-executor.d.ts +1 -0
- package/dist/docker/docker-executor.d.ts.map +1 -1
- package/dist/targets/claude-adapter.d.ts +1 -0
- package/dist/targets/claude-adapter.d.ts.map +1 -1
- package/dist/targets/codex-adapter.d.ts +1 -0
- package/dist/targets/codex-adapter.d.ts.map +1 -1
- package/dist/targets/droid-adapter.d.ts +1 -0
- package/dist/targets/droid-adapter.d.ts.map +1 -1
- package/dist/targets/target-adapter.d.ts +1 -0
- package/dist/targets/target-adapter.d.ts.map +1 -1
- package/dist/types/cli.d.ts +1 -0
- package/dist/types/cli.d.ts.map +1 -1
- package/dist/ui/assets/accounts-DhtktAIG.js +1 -0
- package/dist/ui/assets/{alert-dialog-DudTubF8.js → alert-dialog-DQK2Jxfk.js} +1 -1
- package/dist/ui/assets/api-Den1YY2d.js +4 -0
- package/dist/ui/assets/{auth-section-CHSm0Pb6.js → auth-section-BQitOLMK.js} +1 -1
- package/dist/ui/assets/{backups-section-wajt9dzX.js → backups-section-BLGK5re-.js} +1 -1
- package/dist/ui/assets/{channels-CHran6QE.js → channels-Dop1axTi.js} +1 -1
- package/dist/ui/assets/{checkbox-DvR--eRI.js → checkbox-DDrDuGxi.js} +1 -1
- package/dist/ui/assets/claude-extension-6WjTc0o8.js +1 -0
- package/dist/ui/assets/cliproxy-Ch7RdSMG.js +3 -0
- package/dist/ui/assets/{cliproxy-ai-providers-CjKicdzR.js → cliproxy-ai-providers-DjybBlb5.js} +7 -7
- package/dist/ui/assets/{cliproxy-control-panel-Dw9Q1OoX.js → cliproxy-control-panel-DDif_QAT.js} +1 -1
- package/dist/ui/assets/{codex-D3mdE9ZJ.js → codex-DFAV50Ee.js} +4 -4
- package/dist/ui/assets/{confirm-dialog-C5COcZYh.js → confirm-dialog-CP26_Zko.js} +1 -1
- package/dist/ui/assets/copilot-uZuyhqwv.js +3 -0
- package/dist/ui/assets/cursor-CuaM2FmN.js +1 -0
- package/dist/ui/assets/{droid-BRV6w--c.js → droid-DdjXJ2lF.js} +1 -1
- package/dist/ui/assets/{globalenv-section-D3NP1kLr.js → globalenv-section-D5_-EIlf.js} +1 -1
- package/dist/ui/assets/{health-D9LnJ4lp.js → health-BHhVKLNR.js} +1 -1
- package/dist/ui/assets/{icons-DhBsHU-U.js → icons-CQ3MLSan.js} +1 -1
- package/dist/ui/assets/{index-BCpf7__M.js → index-B8bAYHAs.js} +1 -1
- package/dist/ui/assets/{index-BYrPCHr6.js → index-Ba-43jCS.js} +1 -1
- package/dist/ui/assets/{index-A9ZK234F.js → index-Bm09kGOw.js} +1 -1
- package/dist/ui/assets/{index-DtD1WuHr.js → index-DHY37v8a.js} +1 -1
- package/dist/ui/assets/index-DLCFe4s3.js +1 -0
- package/dist/ui/assets/{index-CKNvmYLR.js → index-TSYtCr3K.js} +20 -20
- package/dist/ui/assets/{masked-input-CcbDAxug.js → masked-input-CTkIqCMg.js} +1 -1
- package/dist/ui/assets/{proxy-status-widget-DhIJtL48.js → proxy-status-widget-DPhKjJFl.js} +1 -1
- package/dist/ui/assets/{radix-ui-Zb8sVEtn.js → radix-ui-BlliRfHq.js} +1 -1
- package/dist/ui/assets/{raw-json-settings-editor-panel-BJetiLxV.js → raw-json-settings-editor-panel-DQr_y0E4.js} +1 -1
- package/dist/ui/assets/{searchable-select-DNmazsgI.js → searchable-select-C2sP7JW5.js} +1 -1
- package/dist/ui/assets/{separator-vdIGU0ab.js → separator-2lt47Sla.js} +1 -1
- package/dist/ui/assets/{shared-IFLNQqyt.js → shared-DPKtsiFQ.js} +1 -1
- package/dist/ui/assets/{table-C8wlucHc.js → table-DbsFACgT.js} +1 -1
- package/dist/ui/assets/{tanstack-DWm6aJ-G.js → tanstack-BjiH4QZq.js} +1 -1
- package/dist/ui/assets/updates-C5iL4KNn.js +1 -0
- package/dist/ui/index.html +4 -4
- package/dist/utils/claude-detector.d.ts +1 -0
- package/dist/utils/claude-detector.d.ts.map +1 -1
- package/dist/utils/claude-spawner.d.ts +1 -0
- package/dist/utils/claude-spawner.d.ts.map +1 -1
- package/dist/utils/shell-executor.d.ts +1 -0
- package/dist/utils/shell-executor.d.ts.map +1 -1
- package/dist/utils/websearch/trace.d.ts +1 -0
- package/dist/utils/websearch/trace.d.ts.map +1 -1
- package/dist/web-server/model-pricing.d.ts.map +1 -1
- package/dist/web-server/model-pricing.js +18 -0
- package/dist/web-server/model-pricing.js.map +1 -1
- package/dist/web-server/services/codex-dashboard-service.d.ts +1 -0
- package/dist/web-server/services/codex-dashboard-service.d.ts.map +1 -1
- package/dist/web-server/services/droid-dashboard-service.d.ts +1 -0
- package/dist/web-server/services/droid-dashboard-service.d.ts.map +1 -1
- package/dist/web-server/usage/aggregator.d.ts.map +1 -1
- package/dist/web-server/usage/aggregator.js +98 -0
- package/dist/web-server/usage/aggregator.js.map +1 -1
- package/dist/web-server/usage/cursor-csv-parser.d.ts +68 -0
- package/dist/web-server/usage/cursor-csv-parser.d.ts.map +1 -0
- package/dist/web-server/usage/cursor-csv-parser.js +238 -0
- package/dist/web-server/usage/cursor-csv-parser.js.map +1 -0
- package/dist/web-server/usage/cursor-data-store.d.ts +55 -0
- package/dist/web-server/usage/cursor-data-store.d.ts.map +1 -0
- package/dist/web-server/usage/cursor-data-store.js +240 -0
- package/dist/web-server/usage/cursor-data-store.js.map +1 -0
- package/dist/web-server/usage/handlers.d.ts +18 -0
- package/dist/web-server/usage/handlers.d.ts.map +1 -1
- package/dist/web-server/usage/handlers.js +127 -15
- package/dist/web-server/usage/handlers.js.map +1 -1
- package/dist/web-server/usage/routes.d.ts.map +1 -1
- package/dist/web-server/usage/routes.js +13 -0
- package/dist/web-server/usage/routes.js.map +1 -1
- package/package.json +7 -6
- package/dist/ui/assets/accounts-Cvu7FuLd.js +0 -1
- package/dist/ui/assets/api-B_SQnrmH.js +0 -4
- package/dist/ui/assets/claude-extension-EUfubgK-.js +0 -1
- package/dist/ui/assets/cliproxy-CMcQRlMQ.js +0 -3
- package/dist/ui/assets/copilot-C_bkjtNE.js +0 -3
- package/dist/ui/assets/cursor-CwFdpjUZ.js +0 -1
- package/dist/ui/assets/index-B8R9vAE9.js +0 -1
- package/dist/ui/assets/updates-BtnxoQcx.js +0 -1
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "OPSX: New"
|
|
3
|
+
description: Start a new change using the experimental artifact workflow (OPSX)
|
|
4
|
+
category: Workflow
|
|
5
|
+
tags: [workflow, artifacts, experimental]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Start a new change using the experimental artifact-driven approach.
|
|
9
|
+
|
|
10
|
+
**Input**: The argument after `/opsx:new` is the change name (kebab-case), OR a description of what the user wants to build.
|
|
11
|
+
|
|
12
|
+
**Steps**
|
|
13
|
+
|
|
14
|
+
1. **If no input provided, ask what they want to build**
|
|
15
|
+
|
|
16
|
+
Use the **AskUserQuestion tool** (open-ended, no preset options) to ask:
|
|
17
|
+
> "What change do you want to work on? Describe what you want to build or fix."
|
|
18
|
+
|
|
19
|
+
From their description, derive a kebab-case name (e.g., "add user authentication" → `add-user-auth`).
|
|
20
|
+
|
|
21
|
+
**IMPORTANT**: Do NOT proceed without understanding what the user wants to build.
|
|
22
|
+
|
|
23
|
+
2. **Determine the workflow schema**
|
|
24
|
+
|
|
25
|
+
Use the default schema (omit `--schema`) unless the user explicitly requests a different workflow.
|
|
26
|
+
|
|
27
|
+
**Use a different schema only if the user mentions:**
|
|
28
|
+
- A specific schema name → use `--schema <name>`
|
|
29
|
+
- "show workflows" or "what workflows" → run `openspec schemas --json` and let them choose
|
|
30
|
+
|
|
31
|
+
**Otherwise**: Omit `--schema` to use the default.
|
|
32
|
+
|
|
33
|
+
3. **Create the change directory**
|
|
34
|
+
```bash
|
|
35
|
+
openspec new change "<name>"
|
|
36
|
+
```
|
|
37
|
+
Add `--schema <name>` only if the user requested a specific workflow.
|
|
38
|
+
This creates a scaffolded change at `openspec/changes/<name>/` with the selected schema.
|
|
39
|
+
|
|
40
|
+
4. **Show the artifact status**
|
|
41
|
+
```bash
|
|
42
|
+
openspec status --change "<name>"
|
|
43
|
+
```
|
|
44
|
+
This shows which artifacts need to be created and which are ready (dependencies satisfied).
|
|
45
|
+
|
|
46
|
+
5. **Get instructions for the first artifact**
|
|
47
|
+
The first artifact depends on the schema. Check the status output to find the first artifact with status "ready".
|
|
48
|
+
```bash
|
|
49
|
+
openspec instructions <first-artifact-id> --change "<name>"
|
|
50
|
+
```
|
|
51
|
+
This outputs the template and context for creating the first artifact.
|
|
52
|
+
|
|
53
|
+
6. **STOP and wait for user direction**
|
|
54
|
+
|
|
55
|
+
**Output**
|
|
56
|
+
|
|
57
|
+
After completing the steps, summarize:
|
|
58
|
+
- Change name and location
|
|
59
|
+
- Schema/workflow being used and its artifact sequence
|
|
60
|
+
- Current status (0/N artifacts complete)
|
|
61
|
+
- The template for the first artifact
|
|
62
|
+
- Prompt: "Ready to create the first artifact? Run `/opsx:continue` or just describe what this change is about and I'll draft it."
|
|
63
|
+
|
|
64
|
+
**Guardrails**
|
|
65
|
+
- Do NOT create any artifacts yet - just show the instructions
|
|
66
|
+
- Do NOT advance beyond showing the first artifact template
|
|
67
|
+
- If the name is invalid (not kebab-case), ask for a valid name
|
|
68
|
+
- If a change with that name already exists, suggest using `/opsx:continue` instead
|
|
69
|
+
- Pass --schema if using a non-default workflow
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "OPSX: Propose"
|
|
3
|
+
description: Propose a new change - create it and generate all artifacts in one step
|
|
4
|
+
category: Workflow
|
|
5
|
+
tags: [workflow, artifacts, experimental]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Propose a new change - create the change and generate all artifacts in one step.
|
|
9
|
+
|
|
10
|
+
I'll create a change with artifacts:
|
|
11
|
+
- proposal.md (what & why)
|
|
12
|
+
- design.md (how)
|
|
13
|
+
- tasks.md (implementation steps)
|
|
14
|
+
|
|
15
|
+
When ready to implement, run /opsx:apply
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
**Input**: The argument after `/opsx:propose` is the change name (kebab-case), OR a description of what the user wants to build.
|
|
20
|
+
|
|
21
|
+
**Steps**
|
|
22
|
+
|
|
23
|
+
1. **If no input provided, ask what they want to build**
|
|
24
|
+
|
|
25
|
+
Use the **AskUserQuestion tool** (open-ended, no preset options) to ask:
|
|
26
|
+
> "What change do you want to work on? Describe what you want to build or fix."
|
|
27
|
+
|
|
28
|
+
From their description, derive a kebab-case name (e.g., "add user authentication" → `add-user-auth`).
|
|
29
|
+
|
|
30
|
+
**IMPORTANT**: Do NOT proceed without understanding what the user wants to build.
|
|
31
|
+
|
|
32
|
+
2. **Create the change directory**
|
|
33
|
+
```bash
|
|
34
|
+
openspec new change "<name>"
|
|
35
|
+
```
|
|
36
|
+
This creates a scaffolded change at `openspec/changes/<name>/` with `.openspec.yaml`.
|
|
37
|
+
|
|
38
|
+
3. **Get the artifact build order**
|
|
39
|
+
```bash
|
|
40
|
+
openspec status --change "<name>" --json
|
|
41
|
+
```
|
|
42
|
+
Parse the JSON to get:
|
|
43
|
+
- `applyRequires`: array of artifact IDs needed before implementation (e.g., `["tasks"]`)
|
|
44
|
+
- `artifacts`: list of all artifacts with their status and dependencies
|
|
45
|
+
|
|
46
|
+
4. **Create artifacts in sequence until apply-ready**
|
|
47
|
+
|
|
48
|
+
Use the **TodoWrite tool** to track progress through the artifacts.
|
|
49
|
+
|
|
50
|
+
Loop through artifacts in dependency order (artifacts with no pending dependencies first):
|
|
51
|
+
|
|
52
|
+
a. **For each artifact that is `ready` (dependencies satisfied)**:
|
|
53
|
+
- Get instructions:
|
|
54
|
+
```bash
|
|
55
|
+
openspec instructions <artifact-id> --change "<name>" --json
|
|
56
|
+
```
|
|
57
|
+
- The instructions JSON includes:
|
|
58
|
+
- `context`: Project background (constraints for you - do NOT include in output)
|
|
59
|
+
- `rules`: Artifact-specific rules (constraints for you - do NOT include in output)
|
|
60
|
+
- `template`: The structure to use for your output file
|
|
61
|
+
- `instruction`: Schema-specific guidance for this artifact type
|
|
62
|
+
- `outputPath`: Where to write the artifact
|
|
63
|
+
- `dependencies`: Completed artifacts to read for context
|
|
64
|
+
- Read any completed dependency files for context
|
|
65
|
+
- Create the artifact file using `template` as the structure
|
|
66
|
+
- Apply `context` and `rules` as constraints - but do NOT copy them into the file
|
|
67
|
+
- Show brief progress: "Created <artifact-id>"
|
|
68
|
+
|
|
69
|
+
b. **Continue until all `applyRequires` artifacts are complete**
|
|
70
|
+
- After creating each artifact, re-run `openspec status --change "<name>" --json`
|
|
71
|
+
- Check if every artifact ID in `applyRequires` has `status: "done"` in the artifacts array
|
|
72
|
+
- Stop when all `applyRequires` artifacts are done
|
|
73
|
+
|
|
74
|
+
c. **If an artifact requires user input** (unclear context):
|
|
75
|
+
- Use **AskUserQuestion tool** to clarify
|
|
76
|
+
- Then continue with creation
|
|
77
|
+
|
|
78
|
+
5. **Show final status**
|
|
79
|
+
```bash
|
|
80
|
+
openspec status --change "<name>"
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Output**
|
|
84
|
+
|
|
85
|
+
After completing all artifacts, summarize:
|
|
86
|
+
- Change name and location
|
|
87
|
+
- List of artifacts created with brief descriptions
|
|
88
|
+
- What's ready: "All artifacts created! Ready for implementation."
|
|
89
|
+
- Prompt: "Run `/opsx:apply` to start implementing."
|
|
90
|
+
|
|
91
|
+
**Artifact Creation Guidelines**
|
|
92
|
+
|
|
93
|
+
- Follow the `instruction` field from `openspec instructions` for each artifact type
|
|
94
|
+
- The schema defines what each artifact should contain - follow it
|
|
95
|
+
- Read dependency artifacts for context before creating new ones
|
|
96
|
+
- Use `template` as the structure for your output file - fill in its sections
|
|
97
|
+
- **IMPORTANT**: `context` and `rules` are constraints for YOU, not content for the file
|
|
98
|
+
- Do NOT copy `<context>`, `<rules>`, `<project_context>` blocks into the artifact
|
|
99
|
+
- These guide what you write, but should never appear in the output
|
|
100
|
+
|
|
101
|
+
**Guardrails**
|
|
102
|
+
- Create ALL artifacts needed for implementation (as defined by schema's `apply.requires`)
|
|
103
|
+
- Always read dependency artifacts before creating a new one
|
|
104
|
+
- If context is critically unclear, ask the user - but prefer making reasonable decisions to keep momentum
|
|
105
|
+
- If a change with that name already exists, ask if user wants to continue it or create a new one
|
|
106
|
+
- Verify each artifact file exists after writing before proceeding to next
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "OPSX: Sync"
|
|
3
|
+
description: Sync delta specs from a change to main specs
|
|
4
|
+
category: Workflow
|
|
5
|
+
tags: [workflow, specs, experimental]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Sync delta specs from a change to main specs.
|
|
9
|
+
|
|
10
|
+
This is an **agent-driven** operation - you will read delta specs and directly edit main specs to apply the changes. This allows intelligent merging (e.g., adding a scenario without copying the entire requirement).
|
|
11
|
+
|
|
12
|
+
**Input**: Optionally specify a change name after `/opsx:sync` (e.g., `/opsx:sync add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
13
|
+
|
|
14
|
+
**Steps**
|
|
15
|
+
|
|
16
|
+
1. **If no change name provided, prompt for selection**
|
|
17
|
+
|
|
18
|
+
Run `openspec list --json` to get available changes. Use the **AskUserQuestion tool** to let the user select.
|
|
19
|
+
|
|
20
|
+
Show changes that have delta specs (under `specs/` directory).
|
|
21
|
+
|
|
22
|
+
**IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose.
|
|
23
|
+
|
|
24
|
+
2. **Find delta specs**
|
|
25
|
+
|
|
26
|
+
Look for delta spec files in `openspec/changes/<name>/specs/*/spec.md`.
|
|
27
|
+
|
|
28
|
+
Each delta spec file contains sections like:
|
|
29
|
+
- `## ADDED Requirements` - New requirements to add
|
|
30
|
+
- `## MODIFIED Requirements` - Changes to existing requirements
|
|
31
|
+
- `## REMOVED Requirements` - Requirements to remove
|
|
32
|
+
- `## RENAMED Requirements` - Requirements to rename (FROM:/TO: format)
|
|
33
|
+
|
|
34
|
+
If no delta specs found, inform user and stop.
|
|
35
|
+
|
|
36
|
+
3. **For each delta spec, apply changes to main specs**
|
|
37
|
+
|
|
38
|
+
For each capability with a delta spec at `openspec/changes/<name>/specs/<capability>/spec.md`:
|
|
39
|
+
|
|
40
|
+
a. **Read the delta spec** to understand the intended changes
|
|
41
|
+
|
|
42
|
+
b. **Read the main spec** at `openspec/specs/<capability>/spec.md` (may not exist yet)
|
|
43
|
+
|
|
44
|
+
c. **Apply changes intelligently**:
|
|
45
|
+
|
|
46
|
+
**ADDED Requirements:**
|
|
47
|
+
- If requirement doesn't exist in main spec → add it
|
|
48
|
+
- If requirement already exists → update it to match (treat as implicit MODIFIED)
|
|
49
|
+
|
|
50
|
+
**MODIFIED Requirements:**
|
|
51
|
+
- Find the requirement in main spec
|
|
52
|
+
- Apply the changes - this can be:
|
|
53
|
+
- Adding new scenarios (don't need to copy existing ones)
|
|
54
|
+
- Modifying existing scenarios
|
|
55
|
+
- Changing the requirement description
|
|
56
|
+
- Preserve scenarios/content not mentioned in the delta
|
|
57
|
+
|
|
58
|
+
**REMOVED Requirements:**
|
|
59
|
+
- Remove the entire requirement block from main spec
|
|
60
|
+
|
|
61
|
+
**RENAMED Requirements:**
|
|
62
|
+
- Find the FROM requirement, rename to TO
|
|
63
|
+
|
|
64
|
+
d. **Create new main spec** if capability doesn't exist yet:
|
|
65
|
+
- Create `openspec/specs/<capability>/spec.md`
|
|
66
|
+
- Add Purpose section (can be brief, mark as TBD)
|
|
67
|
+
- Add Requirements section with the ADDED requirements
|
|
68
|
+
|
|
69
|
+
4. **Show summary**
|
|
70
|
+
|
|
71
|
+
After applying all changes, summarize:
|
|
72
|
+
- Which capabilities were updated
|
|
73
|
+
- What changes were made (requirements added/modified/removed/renamed)
|
|
74
|
+
|
|
75
|
+
**Delta Spec Format Reference**
|
|
76
|
+
|
|
77
|
+
```markdown
|
|
78
|
+
## ADDED Requirements
|
|
79
|
+
|
|
80
|
+
### Requirement: New Feature
|
|
81
|
+
The system SHALL do something new.
|
|
82
|
+
|
|
83
|
+
#### Scenario: Basic case
|
|
84
|
+
- **WHEN** user does X
|
|
85
|
+
- **THEN** system does Y
|
|
86
|
+
|
|
87
|
+
## MODIFIED Requirements
|
|
88
|
+
|
|
89
|
+
### Requirement: Existing Feature
|
|
90
|
+
#### Scenario: New scenario to add
|
|
91
|
+
- **WHEN** user does A
|
|
92
|
+
- **THEN** system does B
|
|
93
|
+
|
|
94
|
+
## REMOVED Requirements
|
|
95
|
+
|
|
96
|
+
### Requirement: Deprecated Feature
|
|
97
|
+
|
|
98
|
+
## RENAMED Requirements
|
|
99
|
+
|
|
100
|
+
- FROM: `### Requirement: Old Name`
|
|
101
|
+
- TO: `### Requirement: New Name`
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**Key Principle: Intelligent Merging**
|
|
105
|
+
|
|
106
|
+
Unlike programmatic merging, you can apply **partial updates**:
|
|
107
|
+
- To add a scenario, just include that scenario under MODIFIED - don't copy existing scenarios
|
|
108
|
+
- The delta represents *intent*, not a wholesale replacement
|
|
109
|
+
- Use your judgment to merge changes sensibly
|
|
110
|
+
|
|
111
|
+
**Output On Success**
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
## Specs Synced: <change-name>
|
|
115
|
+
|
|
116
|
+
Updated main specs:
|
|
117
|
+
|
|
118
|
+
**<capability-1>**:
|
|
119
|
+
- Added requirement: "New Feature"
|
|
120
|
+
- Modified requirement: "Existing Feature" (added 1 scenario)
|
|
121
|
+
|
|
122
|
+
**<capability-2>**:
|
|
123
|
+
- Created new spec file
|
|
124
|
+
- Added requirement: "Another Feature"
|
|
125
|
+
|
|
126
|
+
Main specs are now updated. The change remains active - archive when implementation is complete.
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Guardrails**
|
|
130
|
+
- Read both delta and main specs before making changes
|
|
131
|
+
- Preserve existing content not mentioned in delta
|
|
132
|
+
- If something is unclear, ask for clarification
|
|
133
|
+
- Show what you're changing as you go
|
|
134
|
+
- The operation should be idempotent - running twice should give same result
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "OPSX: Verify"
|
|
3
|
+
description: Verify implementation matches change artifacts before archiving
|
|
4
|
+
category: Workflow
|
|
5
|
+
tags: [workflow, verify, experimental]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Verify that an implementation matches the change artifacts (specs, tasks, design).
|
|
9
|
+
|
|
10
|
+
**Input**: Optionally specify a change name after `/opsx:verify` (e.g., `/opsx:verify add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
11
|
+
|
|
12
|
+
**Steps**
|
|
13
|
+
|
|
14
|
+
1. **If no change name provided, prompt for selection**
|
|
15
|
+
|
|
16
|
+
Run `openspec list --json` to get available changes. Use the **AskUserQuestion tool** to let the user select.
|
|
17
|
+
|
|
18
|
+
Show changes that have implementation tasks (tasks artifact exists).
|
|
19
|
+
Include the schema used for each change if available.
|
|
20
|
+
Mark changes with incomplete tasks as "(In Progress)".
|
|
21
|
+
|
|
22
|
+
**IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose.
|
|
23
|
+
|
|
24
|
+
2. **Check status to understand the schema**
|
|
25
|
+
```bash
|
|
26
|
+
openspec status --change "<name>" --json
|
|
27
|
+
```
|
|
28
|
+
Parse the JSON to understand:
|
|
29
|
+
- `schemaName`: The workflow being used (e.g., "spec-driven")
|
|
30
|
+
- Which artifacts exist for this change
|
|
31
|
+
|
|
32
|
+
3. **Get the change directory and load artifacts**
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
openspec instructions apply --change "<name>" --json
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
This returns the change directory and `contextFiles` (artifact ID -> array of concrete file paths). Read all available artifacts from `contextFiles`.
|
|
39
|
+
|
|
40
|
+
4. **Initialize verification report structure**
|
|
41
|
+
|
|
42
|
+
Create a report structure with three dimensions:
|
|
43
|
+
- **Completeness**: Track tasks and spec coverage
|
|
44
|
+
- **Correctness**: Track requirement implementation and scenario coverage
|
|
45
|
+
- **Coherence**: Track design adherence and pattern consistency
|
|
46
|
+
|
|
47
|
+
Each dimension can have CRITICAL, WARNING, or SUGGESTION issues.
|
|
48
|
+
|
|
49
|
+
5. **Verify Completeness**
|
|
50
|
+
|
|
51
|
+
**Task Completion**:
|
|
52
|
+
- If `contextFiles.tasks` exists, read every file path in it
|
|
53
|
+
- Parse checkboxes: `- [ ]` (incomplete) vs `- [x]` (complete)
|
|
54
|
+
- Count complete vs total tasks
|
|
55
|
+
- If incomplete tasks exist:
|
|
56
|
+
- Add CRITICAL issue for each incomplete task
|
|
57
|
+
- Recommendation: "Complete task: <description>" or "Mark as done if already implemented"
|
|
58
|
+
|
|
59
|
+
**Spec Coverage**:
|
|
60
|
+
- If delta specs exist in `openspec/changes/<name>/specs/`:
|
|
61
|
+
- Extract all requirements (marked with "### Requirement:")
|
|
62
|
+
- For each requirement:
|
|
63
|
+
- Search codebase for keywords related to the requirement
|
|
64
|
+
- Assess if implementation likely exists
|
|
65
|
+
- If requirements appear unimplemented:
|
|
66
|
+
- Add CRITICAL issue: "Requirement not found: <requirement name>"
|
|
67
|
+
- Recommendation: "Implement requirement X: <description>"
|
|
68
|
+
|
|
69
|
+
6. **Verify Correctness**
|
|
70
|
+
|
|
71
|
+
**Requirement Implementation Mapping**:
|
|
72
|
+
- For each requirement from delta specs:
|
|
73
|
+
- Search codebase for implementation evidence
|
|
74
|
+
- If found, note file paths and line ranges
|
|
75
|
+
- Assess if implementation matches requirement intent
|
|
76
|
+
- If divergence detected:
|
|
77
|
+
- Add WARNING: "Implementation may diverge from spec: <details>"
|
|
78
|
+
- Recommendation: "Review <file>:<lines> against requirement X"
|
|
79
|
+
|
|
80
|
+
**Scenario Coverage**:
|
|
81
|
+
- For each scenario in delta specs (marked with "#### Scenario:"):
|
|
82
|
+
- Check if conditions are handled in code
|
|
83
|
+
- Check if tests exist covering the scenario
|
|
84
|
+
- If scenario appears uncovered:
|
|
85
|
+
- Add WARNING: "Scenario not covered: <scenario name>"
|
|
86
|
+
- Recommendation: "Add test or implementation for scenario: <description>"
|
|
87
|
+
|
|
88
|
+
7. **Verify Coherence**
|
|
89
|
+
|
|
90
|
+
**Design Adherence**:
|
|
91
|
+
- If `contextFiles.design` exists:
|
|
92
|
+
- Extract key decisions (look for sections like "Decision:", "Approach:", "Architecture:")
|
|
93
|
+
- Verify implementation follows those decisions
|
|
94
|
+
- If contradiction detected:
|
|
95
|
+
- Add WARNING: "Design decision not followed: <decision>"
|
|
96
|
+
- Recommendation: "Update implementation or revise design.md to match reality"
|
|
97
|
+
- If no design.md: Skip design adherence check, note "No design.md to verify against"
|
|
98
|
+
|
|
99
|
+
**Code Pattern Consistency**:
|
|
100
|
+
- Review new code for consistency with project patterns
|
|
101
|
+
- Check file naming, directory structure, coding style
|
|
102
|
+
- If significant deviations found:
|
|
103
|
+
- Add SUGGESTION: "Code pattern deviation: <details>"
|
|
104
|
+
- Recommendation: "Consider following project pattern: <example>"
|
|
105
|
+
|
|
106
|
+
8. **Generate Verification Report**
|
|
107
|
+
|
|
108
|
+
**Summary Scorecard**:
|
|
109
|
+
```
|
|
110
|
+
## Verification Report: <change-name>
|
|
111
|
+
|
|
112
|
+
### Summary
|
|
113
|
+
| Dimension | Status |
|
|
114
|
+
|--------------|------------------|
|
|
115
|
+
| Completeness | X/Y tasks, N reqs|
|
|
116
|
+
| Correctness | M/N reqs covered |
|
|
117
|
+
| Coherence | Followed/Issues |
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**Issues by Priority**:
|
|
121
|
+
|
|
122
|
+
1. **CRITICAL** (Must fix before archive):
|
|
123
|
+
- Incomplete tasks
|
|
124
|
+
- Missing requirement implementations
|
|
125
|
+
- Each with specific, actionable recommendation
|
|
126
|
+
|
|
127
|
+
2. **WARNING** (Should fix):
|
|
128
|
+
- Spec/design divergences
|
|
129
|
+
- Missing scenario coverage
|
|
130
|
+
- Each with specific recommendation
|
|
131
|
+
|
|
132
|
+
3. **SUGGESTION** (Nice to fix):
|
|
133
|
+
- Pattern inconsistencies
|
|
134
|
+
- Minor improvements
|
|
135
|
+
- Each with specific recommendation
|
|
136
|
+
|
|
137
|
+
**Final Assessment**:
|
|
138
|
+
- If CRITICAL issues: "X critical issue(s) found. Fix before archiving."
|
|
139
|
+
- If only warnings: "No critical issues. Y warning(s) to consider. Ready for archive (with noted improvements)."
|
|
140
|
+
- If all clear: "All checks passed. Ready for archive."
|
|
141
|
+
|
|
142
|
+
**Verification Heuristics**
|
|
143
|
+
|
|
144
|
+
- **Completeness**: Focus on objective checklist items (checkboxes, requirements list)
|
|
145
|
+
- **Correctness**: Use keyword search, file path analysis, reasonable inference - don't require perfect certainty
|
|
146
|
+
- **Coherence**: Look for glaring inconsistencies, don't nitpick style
|
|
147
|
+
- **False Positives**: When uncertain, prefer SUGGESTION over WARNING, WARNING over CRITICAL
|
|
148
|
+
- **Actionability**: Every issue must have a specific recommendation with file/line references where applicable
|
|
149
|
+
|
|
150
|
+
**Graceful Degradation**
|
|
151
|
+
|
|
152
|
+
- If only tasks.md exists: verify task completion only, skip spec/design checks
|
|
153
|
+
- If tasks + specs exist: verify completeness and correctness, skip design
|
|
154
|
+
- If full artifacts: verify all three dimensions
|
|
155
|
+
- Always note which checks were skipped and why
|
|
156
|
+
|
|
157
|
+
**Output Format**
|
|
158
|
+
|
|
159
|
+
Use clear markdown with:
|
|
160
|
+
- Table for summary scorecard
|
|
161
|
+
- Grouped lists for issues (CRITICAL/WARNING/SUGGESTION)
|
|
162
|
+
- Code references in format: `file.ts:123`
|
|
163
|
+
- Specific, actionable recommendations
|
|
164
|
+
- No vague suggestions like "consider reviewing"
|
|
@@ -5,7 +5,57 @@
|
|
|
5
5
|
"Bash(npm audit:*)",
|
|
6
6
|
"mcp__exa__web_search_exa",
|
|
7
7
|
"Bash(npm view:*)",
|
|
8
|
-
"Bash(bun test:*)"
|
|
8
|
+
"Bash(bun test:*)",
|
|
9
|
+
"Bash(.specify/scripts/bash/setup-plan.sh --json)",
|
|
10
|
+
"Bash(.specify/scripts/bash/check-prerequisites.sh --json)",
|
|
11
|
+
"Bash(.specify/scripts/bash/check-prerequisites.sh:*)",
|
|
12
|
+
"Bash(.specify/scripts/bash/update-agent-context.sh claude:*)",
|
|
13
|
+
"mcp__exa__web_fetch_exa",
|
|
14
|
+
"Bash(bun run typecheck:*)",
|
|
15
|
+
"Bash(bun run validate:*)",
|
|
16
|
+
"Bash(bun run test:all:*)",
|
|
17
|
+
"Bash(openspec list *)",
|
|
18
|
+
"Bash(openspec status *)",
|
|
19
|
+
"Bash(bun run format:*)",
|
|
20
|
+
"Bash(npx tsc *)",
|
|
21
|
+
"Bash(bun run lint:*)",
|
|
22
|
+
"mcp__MiniMax__understand_image",
|
|
23
|
+
"Skill(claude-api)",
|
|
24
|
+
"Bash(git fetch *)",
|
|
25
|
+
"Bash(openspec instructions *)"
|
|
9
26
|
]
|
|
27
|
+
},
|
|
28
|
+
"skillOverrides": {
|
|
29
|
+
"gitbutler": "name-only",
|
|
30
|
+
"lark-approval": "off",
|
|
31
|
+
"lark-calendar": "off",
|
|
32
|
+
"lark-drive": "off",
|
|
33
|
+
"lark-event": "off",
|
|
34
|
+
"lark-mail": "off",
|
|
35
|
+
"lark-minutes": "off",
|
|
36
|
+
"lark-openapi-explorer": "off",
|
|
37
|
+
"lark-shared": "off",
|
|
38
|
+
"lark-skill-maker": "off",
|
|
39
|
+
"lark-task": "off",
|
|
40
|
+
"lark-vc": "off",
|
|
41
|
+
"lark-whiteboard": "off",
|
|
42
|
+
"lark-wiki": "off",
|
|
43
|
+
"lark-workflow-meeting-summary": "off",
|
|
44
|
+
"lark-workflow-standup-report": "off",
|
|
45
|
+
"openspec-sync-constitution": "user-invocable-only",
|
|
46
|
+
"cherry-pr-test": "name-only",
|
|
47
|
+
"create-skill": "name-only",
|
|
48
|
+
"gh-create-issue": "name-only",
|
|
49
|
+
"gh-create-pr": "user-invocable-only",
|
|
50
|
+
"prepare-release": "user-invocable-only",
|
|
51
|
+
"electron": "name-only",
|
|
52
|
+
"gh-pr-review": "off",
|
|
53
|
+
"lark-base": "off",
|
|
54
|
+
"lark-contact": "off",
|
|
55
|
+
"lark-doc": "off",
|
|
56
|
+
"lark-im": "off",
|
|
57
|
+
"lark-sheets": "off",
|
|
58
|
+
"vercel-react-best-practices": "name-only",
|
|
59
|
+
"speckit.taskstoissues": "off"
|
|
10
60
|
}
|
|
11
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-command-env.d.ts","sourceRoot":"","sources":["../../../src/auth/commands/create-command-env.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-command-env.d.ts","sourceRoot":"","sources":["../../../src/auth/commands/create-command-env.ts"],"names":[],"mappings":";;AAoCA,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAoBzF"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
/// <reference types="bun-types" />
|
|
2
3
|
import type { TargetType } from '../targets/target-adapter';
|
|
3
4
|
import type { ProfileType } from '../types/profile';
|
|
4
5
|
import type { OfficialChannelId, OfficialChannelsConfig } from '../config/unified-config-types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"official-channels-runtime.d.ts","sourceRoot":"","sources":["../../src/channels/official-channels-runtime.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"official-channels-runtime.d.ts","sourceRoot":"","sources":["../../src/channels/official-channels-runtime.ts"],"names":[],"mappings":";;AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAC;AAElC,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,iBAAiB,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,MAAM,EAAE,CAAC;CAC/B;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,EAAE,yBAAyB,CAyClF,CAAC;AAEF,eAAO,MAAM,oBAAoB,qBAAwD,CAAC;AAC1F,eAAO,MAAM,wCAAwC,WAAW,CAAC;AAEjE,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,WAAW,GAAG,aAAa,GAAG,SAAS,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,gBAAgB,EA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mCAAmC,IAAI,MAAM,CAE5D;AAED,wBAAgB,2BAA2B,IAAI,MAAM,CAEpD;AAED,wBAAgB,gCAAgC,IAAI,MAAM,CAEzD;AAED,wBAAgB,2BAA2B,IAAI,MAAM,CAEpD;AAED,wBAAgB,8BAA8B,IAAI,MAAM,CAEvD;AAED,wBAAgB,oCAAoC,CAClD,SAAS,EAAE,iBAAiB,EAC5B,UAAU,EAAE,MAAM,GACjB,MAAM,CAER;AAED,wBAAgB,gCAAgC,CAAC,SAAS,EAAE,iBAAiB,GAAG,MAAM,CAErF;AAED,wBAAgB,0CAA0C,IAAI,MAAM,GAAG,SAAS,CAE/E;AAED,wBAAgB,qCAAqC,CAAC,SAAS,EAAE,iBAAiB,GAAG,MAAM,CAK1F;AAED,wBAAgB,oCAAoC,IAAI,MAAM,CAE7D;AAED,wBAAgB,uCAAuC,IAAI,MAAM,CAEhE;AAED,wBAAgB,qCAAqC,IAAI,MAAM,CAE9D;AAED,wBAAgB,0CAA0C,IAAI,MAAM,CAEnE;AAED,wBAAgB,mCAAmC,CAAC,QAAQ,EAAE,iBAAiB,EAAE,GAAG,MAAM,EAAE,CAE3F"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
/// <reference types="bun-types" />
|
|
2
3
|
import type { OfficialChannelId } from '../config/unified-config-types';
|
|
3
4
|
export type OfficialChannelTokenSource = 'saved_env' | 'process_env' | 'missing';
|
|
4
5
|
export interface OfficialChannelTokenStatus {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"official-channels-store.d.ts","sourceRoot":"","sources":["../../src/channels/official-channels-store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"official-channels-store.d.ts","sourceRoot":"","sources":["../../src/channels/official-channels-store.ts"],"names":[],"mappings":";;AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AASxE,MAAM,MAAM,0BAA0B,GAAG,WAAW,GAAG,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,8CAA8C,CAC5D,SAAS,CAAC,EAAE,iBAAiB,GAC5B,MAAM,EAAE,CAaV"}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* Config files are bundled with the npm package and read at runtime.
|
|
8
8
|
*/
|
|
9
9
|
/// <reference types="node" />
|
|
10
|
+
/// <reference types="bun-types" />
|
|
10
11
|
import type { CLIProxyProvider, ProviderModelMapping } from './types';
|
|
11
12
|
/** Base settings file structure */
|
|
12
13
|
interface BaseSettings {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-config-loader.d.ts","sourceRoot":"","sources":["../../src/cliproxy/base-config-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG
|
|
1
|
+
{"version":3,"file":"base-config-loader.d.ts","sourceRoot":"","sources":["../../src/cliproxy/base-config-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEtE,mCAAmC;AACnC,UAAU,YAAY;IACpB,GAAG,EAAE;QACH,kBAAkB,EAAE,MAAM,CAAC;QAC3B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,eAAe,EAAE,MAAM,CAAC;QACxB,4BAA4B,EAAE,MAAM,CAAC;QACrC,8BAA8B,EAAE,MAAM,CAAC;QACvC,6BAA6B,EAAE,MAAM,CAAC;KACvC,CAAC;CACH;AAgBD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,gBAAgB,GAAG,YAAY,CA6CvE;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,oBAAoB,CAU1F;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAGlF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAEvC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Handles env var construction, merging, and remote URL rewriting
|
|
4
4
|
*/
|
|
5
5
|
/// <reference types="node" />
|
|
6
|
+
/// <reference types="bun-types" />
|
|
6
7
|
import type { CLIProxyProvider, ProviderModelMapping } from '../types';
|
|
7
8
|
import type { CompositeTierConfig } from '../../config/unified-config-types';
|
|
8
9
|
/** Remote proxy configuration for URL rewriting */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env-builder.d.ts","sourceRoot":"","sources":["../../../src/cliproxy/config/env-builder.ts"],"names":[],"mappings":"AAAA;;;GAGG
|
|
1
|
+
{"version":3,"file":"env-builder.d.ts","sourceRoot":"","sources":["../../../src/cliproxy/config/env-builder.ts"],"names":[],"mappings":"AAAA;;;GAGG;;;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAMvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAqN7E,mDAAmD;AACnD,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,gBAAgB,GAAG,oBAAoB,CAEhF;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,gBAAgB,EAC1B,IAAI,GAAE,MAA8B,GACnC,MAAM,CAAC,UAAU,CAmCnB;AA2HD;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,gBAAgB,EAC1B,IAAI,GAAE,MAA8B,EACpC,kBAAkB,CAAC,EAAE,MAAM,EAC3B,mBAAmB,CAAC,EAAE,wBAAwB,GAC7C,MAAM,CAAC,UAAU,CA0EnB;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAsGvE;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,gBAAgB,EAC1B,YAAY,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,EAC7F,kBAAkB,CAAC,EAAE,MAAM,GAC1B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAuFxB;AAED,qEAAqE;AACrE,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE;IAAE,IAAI,EAAE,mBAAmB,CAAC;IAAC,MAAM,EAAE,mBAAmB,CAAC;IAAC,KAAK,EAAE,mBAAmB,CAAA;CAAE,EAC7F,WAAW,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,EACxC,IAAI,GAAE,MAA8B,EACpC,kBAAkB,CAAC,EAAE,MAAM,EAC3B,YAAY,CAAC,EAAE,qBAAqB,GACnC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAiFxB"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* - Claude (Anthropic): Opt-in via --1m flag
|
|
10
10
|
*/
|
|
11
11
|
/// <reference types="node" />
|
|
12
|
+
/// <reference types="bun-types" />
|
|
12
13
|
import type { CLIProxyProvider } from '../types';
|
|
13
14
|
export declare function applyExtendedContextSuffix(modelId: string): string;
|
|
14
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extended-context-config.d.ts","sourceRoot":"","sources":["../../../src/cliproxy/config/extended-context-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG
|
|
1
|
+
{"version":3,"file":"extended-context-config.d.ts","sourceRoot":"","sources":["../../../src/cliproxy/config/extended-context-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;;;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAWjD,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAElE;AAED;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,gBAAgB,EAC1B,OAAO,EAAE,MAAM,EACf,uBAAuB,CAAC,EAAE,OAAO,GAChC,OAAO,CAsBT;AAED;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,MAAM,CAAC,UAAU,EAC1B,QAAQ,EAAE,gBAAgB,EAC1B,uBAAuB,CAAC,EAAE,OAAO,GAChC,IAAI,CAiBN"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Manages thinking budget suffixes for CLIProxyAPIPlus
|
|
4
4
|
*/
|
|
5
5
|
/// <reference types="node" />
|
|
6
|
+
/// <reference types="bun-types" />
|
|
6
7
|
import type { CLIProxyProvider } from '../types';
|
|
7
8
|
import type { ThinkingConfig } from '../../config/unified-config-types';
|
|
8
9
|
/** Model tier types for thinking budget defaults */
|