@c4a/context-cli 0.7.107 → 0.7.108
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/cli.js +179 -12
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +1 -1
- package/package.json +12 -12
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context.md +1 -1
- package/plugins/claude/resources/context/routine-update.md +12 -4
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +1 -1
- package/plugins/codex/skills/context/references/routine-update.md +12 -4
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +1 -1
- package/plugins/cursor/resources/context/routine-update.md +12 -4
- package/plugins/skills/context/SKILL.md +1 -1
- package/plugins/skills/context/references/routine-update.md +12 -4
- package/providers/context/manifest.json +6 -6
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/knowledge-updates.md +18 -0
- package/providers/context/resources/procedures/knowledge-updates.md +18 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c4a/context-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.108",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Local runtime and Agent integration for traceable knowledge production",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@c4a/agent-graph": "0.3.0",
|
|
27
|
-
"@c4a/context": "0.7.
|
|
28
|
-
"@c4a/extract": "0.7.
|
|
29
|
-
"@c4a/extract-contract": "0.7.
|
|
30
|
-
"@c4a/extract-go": "0.7.
|
|
31
|
-
"@c4a/extract-mdx": "0.7.
|
|
32
|
-
"@c4a/extract-proto": "0.7.
|
|
33
|
-
"@c4a/extract-rush": "0.7.
|
|
34
|
-
"@c4a/extract-sql": "0.7.
|
|
35
|
-
"@c4a/extract-style": "0.7.
|
|
36
|
-
"@c4a/extract-thrift": "0.7.
|
|
37
|
-
"@c4a/extract-ts": "0.7.
|
|
27
|
+
"@c4a/context": "0.7.108",
|
|
28
|
+
"@c4a/extract": "0.7.108",
|
|
29
|
+
"@c4a/extract-contract": "0.7.108",
|
|
30
|
+
"@c4a/extract-go": "0.7.108",
|
|
31
|
+
"@c4a/extract-mdx": "0.7.108",
|
|
32
|
+
"@c4a/extract-proto": "0.7.108",
|
|
33
|
+
"@c4a/extract-rush": "0.7.108",
|
|
34
|
+
"@c4a/extract-sql": "0.7.108",
|
|
35
|
+
"@c4a/extract-style": "0.7.108",
|
|
36
|
+
"@c4a/extract-thrift": "0.7.108",
|
|
37
|
+
"@c4a/extract-ts": "0.7.108",
|
|
38
38
|
"@mermaid-js/layout-elk": "0.2.0",
|
|
39
39
|
"commander": "^11.0.0",
|
|
40
40
|
"d3-force": "3.0.0",
|
package/plugins/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.108
|
|
@@ -144,7 +144,7 @@ without the user's authorization.
|
|
|
144
144
|
|
|
145
145
|
### Check the CLI first
|
|
146
146
|
|
|
147
|
-
This Skill ships with Context 0.7.
|
|
147
|
+
This Skill ships with Context 0.7.108.
|
|
148
148
|
|
|
149
149
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
150
150
|
workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
|
|
@@ -119,14 +119,17 @@ workspace targets or the delivery configuration.
|
|
|
119
119
|
diff instead.
|
|
120
120
|
2. Move only the batch's registrations: rerun `context source add repo` with
|
|
121
121
|
the registered namespace, `--module`, remote or local path and subpath,
|
|
122
|
-
changing only `--ref <sha>`.
|
|
122
|
+
changing only `--ref <sha>`. In a remote mode Sourcegraph confirms the
|
|
123
|
+
commit first; a refusal usually means a mistyped SHA.
|
|
123
124
|
3. Re-capture the batch's changed documents through their normal capture
|
|
124
125
|
Route; for a newer origin version, install it into a new version
|
|
125
126
|
directory and move the registration first, as in the knowledge-updates
|
|
126
127
|
guide's "Versioned external content and archived collections".
|
|
127
128
|
4. Start one `context update --input` naming the batch's repository and
|
|
128
129
|
document scopes, each with its `requirement_ref`; list a source shared by
|
|
129
|
-
several requirements once per requirement.
|
|
130
|
+
several requirements once per requirement. Add `more_batches: true` when
|
|
131
|
+
another batch of this run follows, so the version is recorded once,
|
|
132
|
+
after the last batch. Use `context update --pending
|
|
130
133
|
--format json` instead only when the batch is every pending repository
|
|
131
134
|
and has no documents; it also downloads what it needs.
|
|
132
135
|
|
|
@@ -170,8 +173,13 @@ workspace targets or the delivery configuration.
|
|
|
170
173
|
fits, place the page in the closest one, deliver the batch, and record a
|
|
171
174
|
structure proposal (before and after, and why) in the PLAN and the result.
|
|
172
175
|
Apply it only after a human confirms, as a separate knowledge-map change.
|
|
173
|
-
11. **Merge each batch.**
|
|
174
|
-
|
|
176
|
+
11. **Merge each batch.** Commit only that batch's files and PLAN progress; the
|
|
177
|
+
last batch also records the run's one increasing version and changelog as
|
|
178
|
+
the workspace requires (earlier batches ran with `more_batches: true`).
|
|
179
|
+
Note the commit before the first batch in the PLAN. When earlier batches
|
|
180
|
+
were committed and the workspace has no `v<version>` tag, inspect with
|
|
181
|
+
`context version inspect --base <that commit> --format json` and record the
|
|
182
|
+
version with the same `base_ref`, so the changelog covers every batch.
|
|
175
183
|
Fetch the remote first. If it moved, note the remote commit, rebase, and when
|
|
176
184
|
only the version or changelog conflicts, take the remote's files; then run
|
|
177
185
|
`context version inspect --base <that remote commit> --format json` and record
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c4a",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.108",
|
|
4
4
|
"description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
|
|
5
5
|
"author": { "name": "c4a" },
|
|
6
6
|
"homepage": "https://github.com/context4ai/c4a",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"skills": "./skills/",
|
|
11
11
|
"interface": {
|
|
12
12
|
"displayName": "C4A Context",
|
|
13
|
-
"shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.
|
|
13
|
+
"shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.108",
|
|
14
14
|
"longDescription": "Create a Context workspace and use agent-guided next steps to register sources, run extraction, review candidates, build package outputs, and verify health without silently mutating source repositories.",
|
|
15
15
|
"developerName": "c4a",
|
|
16
16
|
"category": "Productivity",
|
|
@@ -142,7 +142,7 @@ without the user's authorization.
|
|
|
142
142
|
|
|
143
143
|
### Check the CLI first
|
|
144
144
|
|
|
145
|
-
This Skill ships with Context 0.7.
|
|
145
|
+
This Skill ships with Context 0.7.108.
|
|
146
146
|
|
|
147
147
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
148
148
|
workspace SDK once per session with [version alignment](references/version-alignment.md):
|
|
@@ -119,14 +119,17 @@ workspace targets or the delivery configuration.
|
|
|
119
119
|
diff instead.
|
|
120
120
|
2. Move only the batch's registrations: rerun `context source add repo` with
|
|
121
121
|
the registered namespace, `--module`, remote or local path and subpath,
|
|
122
|
-
changing only `--ref <sha>`.
|
|
122
|
+
changing only `--ref <sha>`. In a remote mode Sourcegraph confirms the
|
|
123
|
+
commit first; a refusal usually means a mistyped SHA.
|
|
123
124
|
3. Re-capture the batch's changed documents through their normal capture
|
|
124
125
|
Route; for a newer origin version, install it into a new version
|
|
125
126
|
directory and move the registration first, as in the knowledge-updates
|
|
126
127
|
guide's "Versioned external content and archived collections".
|
|
127
128
|
4. Start one `context update --input` naming the batch's repository and
|
|
128
129
|
document scopes, each with its `requirement_ref`; list a source shared by
|
|
129
|
-
several requirements once per requirement.
|
|
130
|
+
several requirements once per requirement. Add `more_batches: true` when
|
|
131
|
+
another batch of this run follows, so the version is recorded once,
|
|
132
|
+
after the last batch. Use `context update --pending
|
|
130
133
|
--format json` instead only when the batch is every pending repository
|
|
131
134
|
and has no documents; it also downloads what it needs.
|
|
132
135
|
|
|
@@ -170,8 +173,13 @@ workspace targets or the delivery configuration.
|
|
|
170
173
|
fits, place the page in the closest one, deliver the batch, and record a
|
|
171
174
|
structure proposal (before and after, and why) in the PLAN and the result.
|
|
172
175
|
Apply it only after a human confirms, as a separate knowledge-map change.
|
|
173
|
-
11. **Merge each batch.**
|
|
174
|
-
|
|
176
|
+
11. **Merge each batch.** Commit only that batch's files and PLAN progress; the
|
|
177
|
+
last batch also records the run's one increasing version and changelog as
|
|
178
|
+
the workspace requires (earlier batches ran with `more_batches: true`).
|
|
179
|
+
Note the commit before the first batch in the PLAN. When earlier batches
|
|
180
|
+
were committed and the workspace has no `v<version>` tag, inspect with
|
|
181
|
+
`context version inspect --base <that commit> --format json` and record the
|
|
182
|
+
version with the same `base_ref`, so the changelog covers every batch.
|
|
175
183
|
Fetch the remote first. If it moved, note the remote commit, rebase, and when
|
|
176
184
|
only the version or changelog conflicts, take the remote's files; then run
|
|
177
185
|
`context version inspect --base <that remote commit> --format json` and record
|
|
@@ -139,7 +139,7 @@ without the user's authorization.
|
|
|
139
139
|
|
|
140
140
|
### Check the CLI first
|
|
141
141
|
|
|
142
|
-
This Skill ships with Context 0.7.
|
|
142
|
+
This Skill ships with Context 0.7.108.
|
|
143
143
|
|
|
144
144
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
145
145
|
workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
|
|
@@ -119,14 +119,17 @@ workspace targets or the delivery configuration.
|
|
|
119
119
|
diff instead.
|
|
120
120
|
2. Move only the batch's registrations: rerun `context source add repo` with
|
|
121
121
|
the registered namespace, `--module`, remote or local path and subpath,
|
|
122
|
-
changing only `--ref <sha>`.
|
|
122
|
+
changing only `--ref <sha>`. In a remote mode Sourcegraph confirms the
|
|
123
|
+
commit first; a refusal usually means a mistyped SHA.
|
|
123
124
|
3. Re-capture the batch's changed documents through their normal capture
|
|
124
125
|
Route; for a newer origin version, install it into a new version
|
|
125
126
|
directory and move the registration first, as in the knowledge-updates
|
|
126
127
|
guide's "Versioned external content and archived collections".
|
|
127
128
|
4. Start one `context update --input` naming the batch's repository and
|
|
128
129
|
document scopes, each with its `requirement_ref`; list a source shared by
|
|
129
|
-
several requirements once per requirement.
|
|
130
|
+
several requirements once per requirement. Add `more_batches: true` when
|
|
131
|
+
another batch of this run follows, so the version is recorded once,
|
|
132
|
+
after the last batch. Use `context update --pending
|
|
130
133
|
--format json` instead only when the batch is every pending repository
|
|
131
134
|
and has no documents; it also downloads what it needs.
|
|
132
135
|
|
|
@@ -170,8 +173,13 @@ workspace targets or the delivery configuration.
|
|
|
170
173
|
fits, place the page in the closest one, deliver the batch, and record a
|
|
171
174
|
structure proposal (before and after, and why) in the PLAN and the result.
|
|
172
175
|
Apply it only after a human confirms, as a separate knowledge-map change.
|
|
173
|
-
11. **Merge each batch.**
|
|
174
|
-
|
|
176
|
+
11. **Merge each batch.** Commit only that batch's files and PLAN progress; the
|
|
177
|
+
last batch also records the run's one increasing version and changelog as
|
|
178
|
+
the workspace requires (earlier batches ran with `more_batches: true`).
|
|
179
|
+
Note the commit before the first batch in the PLAN. When earlier batches
|
|
180
|
+
were committed and the workspace has no `v<version>` tag, inspect with
|
|
181
|
+
`context version inspect --base <that commit> --format json` and record the
|
|
182
|
+
version with the same `base_ref`, so the changelog covers every batch.
|
|
175
183
|
Fetch the remote first. If it moved, note the remote commit, rebase, and when
|
|
176
184
|
only the version or changelog conflicts, take the remote's files; then run
|
|
177
185
|
`context version inspect --base <that remote commit> --format json` and record
|
|
@@ -142,7 +142,7 @@ without the user's authorization.
|
|
|
142
142
|
|
|
143
143
|
### Check the CLI first
|
|
144
144
|
|
|
145
|
-
This Skill ships with Context 0.7.
|
|
145
|
+
This Skill ships with Context 0.7.108.
|
|
146
146
|
|
|
147
147
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
148
148
|
workspace SDK once per session with [version alignment](references/version-alignment.md):
|
|
@@ -119,14 +119,17 @@ workspace targets or the delivery configuration.
|
|
|
119
119
|
diff instead.
|
|
120
120
|
2. Move only the batch's registrations: rerun `context source add repo` with
|
|
121
121
|
the registered namespace, `--module`, remote or local path and subpath,
|
|
122
|
-
changing only `--ref <sha>`.
|
|
122
|
+
changing only `--ref <sha>`. In a remote mode Sourcegraph confirms the
|
|
123
|
+
commit first; a refusal usually means a mistyped SHA.
|
|
123
124
|
3. Re-capture the batch's changed documents through their normal capture
|
|
124
125
|
Route; for a newer origin version, install it into a new version
|
|
125
126
|
directory and move the registration first, as in the knowledge-updates
|
|
126
127
|
guide's "Versioned external content and archived collections".
|
|
127
128
|
4. Start one `context update --input` naming the batch's repository and
|
|
128
129
|
document scopes, each with its `requirement_ref`; list a source shared by
|
|
129
|
-
several requirements once per requirement.
|
|
130
|
+
several requirements once per requirement. Add `more_batches: true` when
|
|
131
|
+
another batch of this run follows, so the version is recorded once,
|
|
132
|
+
after the last batch. Use `context update --pending
|
|
130
133
|
--format json` instead only when the batch is every pending repository
|
|
131
134
|
and has no documents; it also downloads what it needs.
|
|
132
135
|
|
|
@@ -170,8 +173,13 @@ workspace targets or the delivery configuration.
|
|
|
170
173
|
fits, place the page in the closest one, deliver the batch, and record a
|
|
171
174
|
structure proposal (before and after, and why) in the PLAN and the result.
|
|
172
175
|
Apply it only after a human confirms, as a separate knowledge-map change.
|
|
173
|
-
11. **Merge each batch.**
|
|
174
|
-
|
|
176
|
+
11. **Merge each batch.** Commit only that batch's files and PLAN progress; the
|
|
177
|
+
last batch also records the run's one increasing version and changelog as
|
|
178
|
+
the workspace requires (earlier batches ran with `more_batches: true`).
|
|
179
|
+
Note the commit before the first batch in the PLAN. When earlier batches
|
|
180
|
+
were committed and the workspace has no `v<version>` tag, inspect with
|
|
181
|
+
`context version inspect --base <that commit> --format json` and record the
|
|
182
|
+
version with the same `base_ref`, so the changelog covers every batch.
|
|
175
183
|
Fetch the remote first. If it moved, note the remote commit, rebase, and when
|
|
176
184
|
only the version or changelog conflicts, take the remote's files; then run
|
|
177
185
|
`context version inspect --base <that remote commit> --format json` and record
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schema": "agent-graph.bundle.v1",
|
|
3
3
|
"provider": {
|
|
4
4
|
"id": "c4a/context",
|
|
5
|
-
"version": "0.7.
|
|
5
|
+
"version": "0.7.108"
|
|
6
6
|
},
|
|
7
7
|
"providerManifest": "provider.yaml",
|
|
8
8
|
"graphs": [
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
{
|
|
329
329
|
"id": "procedure.knowledge-updates",
|
|
330
330
|
"path": "resources/procedures/knowledge-updates.md",
|
|
331
|
-
"digest": "sha256:
|
|
331
|
+
"digest": "sha256:fd32a7cbdce19dbd03df2264bcc920a5022537fc963190975632baf5cf421c01"
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
334
|
"id": "procedure.note",
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
600
|
"path": "provider.yaml",
|
|
601
|
-
"digest": "sha256:
|
|
601
|
+
"digest": "sha256:7888172b92ffe8818f416bd54d94ccdec5d1487cebd9b8372a7538ee890eba01"
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
"path": "resources/contracts/indexer-provider-guide.yaml",
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
660
|
"path": "resources/manuals/guides/knowledge-updates.md",
|
|
661
|
-
"digest": "sha256:
|
|
661
|
+
"digest": "sha256:bc06e2c2e08562d64e74ebbef63e7017295757c95c32174a7812df141d0c9260"
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
664
|
"path": "resources/manuals/guides/lark-resources.md",
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
},
|
|
755
755
|
{
|
|
756
756
|
"path": "resources/procedures/knowledge-updates.md",
|
|
757
|
-
"digest": "sha256:
|
|
757
|
+
"digest": "sha256:fd32a7cbdce19dbd03df2264bcc920a5022537fc963190975632baf5cf421c01"
|
|
758
758
|
},
|
|
759
759
|
{
|
|
760
760
|
"path": "resources/procedures/note.md",
|
|
@@ -921,5 +921,5 @@
|
|
|
921
921
|
"indexer": [],
|
|
922
922
|
"workspace": []
|
|
923
923
|
},
|
|
924
|
-
"digest": "sha256:
|
|
924
|
+
"digest": "sha256:c48aed7fba5cea6b920caad2af7f79d4de06766cdd418f3dd6f0e89b19b6c78a"
|
|
925
925
|
}
|
|
@@ -503,6 +503,16 @@ first and update them in batches, so each review covers related pages:
|
|
|
503
503
|
its versioned file sources (see "Versioned external content and archived
|
|
504
504
|
collections"), then start one `context update --input` listing all of the batch's `repo:`, `lark:` and `file:` scopes, each
|
|
505
505
|
with its `requirement_ref`. Do not move later batches' registrations early.
|
|
506
|
+
When another batch follows, add `more_batches: true` to the input: the
|
|
507
|
+
batch is reviewed, closed and built as usual, but the Route does not ask for
|
|
508
|
+
a workspace version, so the next batch can start right after the build.
|
|
509
|
+
Leave it out of the last batch; its Route records the one version (and
|
|
510
|
+
changelog entry) of the whole refresh. When earlier batches were already
|
|
511
|
+
committed and the workspace has no `v<version>` tag (for example a
|
|
512
|
+
workspace inside a larger repository), the default comparison base is
|
|
513
|
+
`HEAD` and would list only the last batch: run `context version inspect
|
|
514
|
+
--base <commit before the first batch> --format json` and record with the
|
|
515
|
+
same `base_ref`, or commit all batches after the version record.
|
|
506
516
|
5. **`--pending` only for one repository-only batch.** `context update
|
|
507
517
|
--pending` covers repositories only and is a write: once it runs, the batch
|
|
508
518
|
cannot be split with `--input` without rolling back. Use it only when the
|
|
@@ -542,6 +552,14 @@ say so: `context update` and `verify --format json` return `source_access`
|
|
|
542
552
|
(each repository's `access`, site, repository and commit, or the reason it was
|
|
543
553
|
skipped or read locally), and in `status` each such source has `access: remote`
|
|
544
554
|
instead of checkout advice. `ready` keeps describing the local checkout.
|
|
555
|
+
A repository outside the update's scope that remote mode cannot read is listed
|
|
556
|
+
in `skipped_sources` only; it is not offered in `expand_scope`. `context source
|
|
557
|
+
add repo --ref <sha>` checks the commit before registering it: in local mode
|
|
558
|
+
the checkout (or its origin, fetched once) must have it; in a remote mode
|
|
559
|
+
Sourcegraph must be able to read it, or a remote branch or tag must point at it
|
|
560
|
+
(then it is registered with an `info` that `context update --pending` can
|
|
561
|
+
prepare it). Otherwise the registration is refused; for an older commit no
|
|
562
|
+
branch or tag points at, rerun with `--allow-unverified-ref`.
|
|
545
563
|
|
|
546
564
|
**Authorization.** The Sourcegraph MCP server the Agent already uses is the only
|
|
547
565
|
configuration needed. When a command needs a token and has none, it returns a
|
|
@@ -503,6 +503,16 @@ first and update them in batches, so each review covers related pages:
|
|
|
503
503
|
its versioned file sources (see "Versioned external content and archived
|
|
504
504
|
collections"), then start one `context update --input` listing all of the batch's `repo:`, `lark:` and `file:` scopes, each
|
|
505
505
|
with its `requirement_ref`. Do not move later batches' registrations early.
|
|
506
|
+
When another batch follows, add `more_batches: true` to the input: the
|
|
507
|
+
batch is reviewed, closed and built as usual, but the Route does not ask for
|
|
508
|
+
a workspace version, so the next batch can start right after the build.
|
|
509
|
+
Leave it out of the last batch; its Route records the one version (and
|
|
510
|
+
changelog entry) of the whole refresh. When earlier batches were already
|
|
511
|
+
committed and the workspace has no `v<version>` tag (for example a
|
|
512
|
+
workspace inside a larger repository), the default comparison base is
|
|
513
|
+
`HEAD` and would list only the last batch: run `context version inspect
|
|
514
|
+
--base <commit before the first batch> --format json` and record with the
|
|
515
|
+
same `base_ref`, or commit all batches after the version record.
|
|
506
516
|
5. **`--pending` only for one repository-only batch.** `context update
|
|
507
517
|
--pending` covers repositories only and is a write: once it runs, the batch
|
|
508
518
|
cannot be split with `--input` without rolling back. Use it only when the
|
|
@@ -542,6 +552,14 @@ say so: `context update` and `verify --format json` return `source_access`
|
|
|
542
552
|
(each repository's `access`, site, repository and commit, or the reason it was
|
|
543
553
|
skipped or read locally), and in `status` each such source has `access: remote`
|
|
544
554
|
instead of checkout advice. `ready` keeps describing the local checkout.
|
|
555
|
+
A repository outside the update's scope that remote mode cannot read is listed
|
|
556
|
+
in `skipped_sources` only; it is not offered in `expand_scope`. `context source
|
|
557
|
+
add repo --ref <sha>` checks the commit before registering it: in local mode
|
|
558
|
+
the checkout (or its origin, fetched once) must have it; in a remote mode
|
|
559
|
+
Sourcegraph must be able to read it, or a remote branch or tag must point at it
|
|
560
|
+
(then it is registered with an `info` that `context update --pending` can
|
|
561
|
+
prepare it). Otherwise the registration is refused; for an older commit no
|
|
562
|
+
branch or tag points at, rerun with `--allow-unverified-ref`.
|
|
545
563
|
|
|
546
564
|
**Authorization.** The Sourcegraph MCP server the Agent already uses is the only
|
|
547
565
|
configuration needed. When a command needs a token and has none, it returns a
|