@c4a/context 0.6.4 → 0.6.6

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.
@@ -61,14 +61,18 @@ llmsPackage({
61
61
 
62
62
  Use Git raw delivery when resources are published from a Git repository.
63
63
  Without `urlPrefix`, the Context workspace must be inside Git; GitHub remotes
64
- are derived automatically and pinned to the current commit. Other hosts and
65
- workspaces outside Git accept an explicit HTTPS prefix; Context appends the
66
- project-relative `knowledge/assets/...` path. Context does not check whether
67
- the resources are committed, pushed, or remotely readable; publishing them is
68
- the package author's responsibility.
69
- `{commit}` is replaced when present. A literal branch in the prefix is allowed
70
- but intentionally follows that mutable branch. The configured raw host must be
71
- reachable by the eventual package consumers.
64
+ are derived automatically and pinned to the current commit. Other hosts accept
65
+ an explicit HTTPS prefix. `{commit}` is replaced only when the workspace is
66
+ inside Git, because Context must resolve the current commit. A workspace outside
67
+ Git must use a literal, already-published prefix without `{commit}`. Context
68
+ appends the project-relative `knowledge/assets/...` path.
69
+
70
+ The resolved commit and raw URL participate in package freshness, so changing
71
+ Git HEAD or the selected remote makes an existing package stale. Context does
72
+ not check whether resources are committed, pushed, or remotely readable;
73
+ publishing them is the package author's responsibility. A literal branch in the
74
+ prefix is allowed but intentionally follows that mutable branch. The configured
75
+ raw host must be reachable by the eventual package consumers.
72
76
 
73
77
  ```ts
74
78
  assets: {
@@ -77,8 +81,15 @@ assets: {
77
81
  }
78
82
  ```
79
83
 
80
- When the workspace is not in Git and has no explicit raw prefix, choose bundled
81
- delivery or explicit omission:
84
+ Outside Git, use a literal published prefix or choose bundled delivery or
85
+ explicit omission:
86
+
87
+ ```ts
88
+ assets: {
89
+ delivery: "git-raw",
90
+ urlPrefix: "https://code.example.com/team/knowledge/raw/published-assets",
91
+ }
92
+ ```
82
93
 
83
94
  ```ts
84
95
  assets: { delivery: "bundle" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c4a/context",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
4
4
  "type": "module",
5
5
  "description": "Context SDK — project-local configuration and workspace primitives",
6
6
  "license": "MIT",