You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ef51fd1
Browse filesBrowse the repository at this point in the historyBrowse files
deprecate(sdk): the v0.3 package.meta.json prototype and workspace discovery
These ten sdk exports model a package.meta.json that nothing in the
toolchain ever reads: no loader, CLI or port consults it, and the only
callers are the sdk's own tests. Cross-repo metadata sharing is being
built properly as FR-023 (metadata dependencies), so the prototype would
mislead anyone who found it first. They are public exports, so they stay
working now and are removed in 2.0.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ApQWqotP1jaKs85XhKVXG4
* The package.meta.json schema. Authoring this is the one-time cost of
41
41
* defining a metadata package; subsequent edits should be rare.
42
+
*
43
+
* @deprecated The v0.3 `package.meta.json` prototype: nothing in the toolchain reads it. Cross-repo metadata sharing is FR-023 (metadata dependencies). Removed in 2.0.
/** @deprecated The v0.3 `package.meta.json` prototype: nothing in the toolchain reads it. Cross-repo metadata sharing is FR-023 (metadata dependencies). Removed in 2.0. */
/** @deprecated The v0.3 `package.meta.json` prototype: nothing in the toolchain reads it. Cross-repo metadata sharing is FR-023 (metadata dependencies). Removed in 2.0. */
* Read a package.meta.json from a given .meta/ root, if present.
81
85
* Returns undefined when the file isn't there — packages are optional in
82
86
* v0.3 v0.1 (loadMemory still works for single-package usage without one,
83
87
* and forge init scaffolds one but doesn't enforce its presence).
88
+
*
89
+
* @deprecated The v0.3 `package.meta.json` prototype: nothing in the toolchain reads it. Cross-repo metadata sharing is FR-023 (metadata dependencies). Removed in 2.0.
@@ -104,6 +110,8 @@ export async function readPackageManifest(metaDir: string): Promise<PackageManif
104
110
* Returns undefined if `name` itself isn't a valid bare name (e.g. has
105
111
* uppercase chars) and no explicit ref is set — the caller should treat
106
112
* this as an authoring error.
113
+
*
114
+
* @deprecated The v0.3 `package.meta.json` prototype: nothing in the toolchain reads it. Cross-repo metadata sharing is FR-023 (metadata dependencies). Removed in 2.0.
/** @deprecated The v0.3 `package.meta.json` prototype: nothing in the toolchain reads it. Cross-repo metadata sharing is FR-023 (metadata dependencies). Removed in 2.0. */
/** @deprecated The v0.3 `package.meta.json` prototype: nothing in the toolchain reads it. Cross-repo metadata sharing is FR-023 (metadata dependencies). Removed in 2.0. */
42
44
exportinterfaceWorkspace{
43
45
/** Absolute path to the workspace root (where pnpm-workspace.yaml or package.json lives). */
* The returned Workspace has every package's manifest pre-loaded; callers
215
217
* can look up peers by name or canonical metaobjects ref.
218
+
*
219
+
* @deprecated The v0.3 `package.meta.json` prototype: nothing in the toolchain reads it. Cross-repo metadata sharing is FR-023 (metadata dependencies). Removed in 2.0.
* @deprecated The v0.3 `package.meta.json` prototype: nothing in the toolchain reads it. Cross-repo metadata sharing is FR-023 (metadata dependencies). Removed in 2.0.
293
299
*/
294
300
exportfunctionresolveExtendsOrder(
295
301
workspace: Workspace,
@@ -336,7 +342,11 @@ export function resolveExtendsOrder(
/** Human-readable label for a workspace package — useful for error messages. */
345
+
/**
346
+
* Human-readable label for a workspace package — useful for error messages.
347
+
*
348
+
* @deprecated The v0.3 `package.meta.json` prototype: nothing in the toolchain reads it. Cross-repo metadata sharing is FR-023 (metadata dependencies). Removed in 2.0.
0 commit comments