@vibesdotdev/tracking-schemas 0.0.0-stage → 1.0.0-rc.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.
- package/LICENSE +18 -0
- package/README.md +61 -2
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas/actor.d.ts +23 -0
- package/dist/schemas/actor.d.ts.map +1 -0
- package/dist/schemas/actor.js +17 -0
- package/dist/schemas/actor.js.map +1 -0
- package/dist/schemas/stack-projection.d.ts +53 -0
- package/dist/schemas/stack-projection.d.ts.map +1 -0
- package/dist/schemas/stack-projection.js +25 -0
- package/dist/schemas/stack-projection.js.map +1 -0
- package/dist/schemas/status-check.d.ts +73 -0
- package/dist/schemas/status-check.d.ts.map +1 -0
- package/dist/schemas/status-check.js +42 -0
- package/dist/schemas/status-check.js.map +1 -0
- package/dist/schemas/vocabulary.d.ts +71 -0
- package/dist/schemas/vocabulary.d.ts.map +1 -0
- package/dist/schemas/vocabulary.js +31 -0
- package/dist/schemas/vocabulary.js.map +1 -0
- package/package.json +83 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 VIBES DEV LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
|
6
|
+
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
|
7
|
+
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
|
|
9
|
+
following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial
|
|
12
|
+
portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
|
15
|
+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
|
|
16
|
+
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
17
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
18
|
+
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,62 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @vibesdotdev/tracking-schemas
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Zod schemas and TypeScript types for Vibes tracking items and pull requests: the
|
|
4
|
+
item, priority, PR-state and CI-status vocabularies, review and comment enums, the
|
|
5
|
+
authenticated actor principal, the compact PR-stack membership projection, and the
|
|
6
|
+
status-check wire shape for one CI result.
|
|
7
|
+
|
|
8
|
+
It is a pure leaf. It depends on `zod` only and has no runtime behavior, so
|
|
9
|
+
`@vibesdotdev/forge`, `@vibesdotdev/projects` and `@vibesdotdev/git-operations` can
|
|
10
|
+
agree on the same wire contract without importing each other.
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
bun add @vibesdotdev/tracking-schemas
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import {
|
|
22
|
+
StatusCheckSchema,
|
|
23
|
+
TrackingPrStateSchema,
|
|
24
|
+
TrackingPrStateValues,
|
|
25
|
+
type StatusCheck
|
|
26
|
+
} from '@vibesdotdev/tracking-schemas';
|
|
27
|
+
|
|
28
|
+
TrackingPrStateValues; // ['draft', 'open', 'merged', 'closed']
|
|
29
|
+
TrackingPrStateSchema.parse('open');
|
|
30
|
+
|
|
31
|
+
const check: StatusCheck = StatusCheckSchema.parse({
|
|
32
|
+
context: 'ci/quality',
|
|
33
|
+
state: 'success',
|
|
34
|
+
sha: 'abc123',
|
|
35
|
+
updatedAt: new Date().toISOString()
|
|
36
|
+
});
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Merge-policy helpers that operate on these shapes (`aggregateStatusChecks`,
|
|
40
|
+
`statusChecksBlockMerge` and friends) live in `@vibesdotdev/forge`, not here.
|
|
41
|
+
|
|
42
|
+
Schemas and their inferred types live in `src/schemas/` and are exported through
|
|
43
|
+
the package root.
|
|
44
|
+
|
|
45
|
+
See the published [SPEC.md](./SPEC.md) for the full export list,
|
|
46
|
+
the ownership boundary and the hard rules.
|
|
47
|
+
|
|
48
|
+
## Development
|
|
49
|
+
|
|
50
|
+
Run these commands from the package directory:
|
|
51
|
+
|
|
52
|
+
- `bun run check` uses the default `tsconfig.json` to typecheck all TypeScript and
|
|
53
|
+
TSX sources, including tests and Svelte TypeScript sources, without emitting code.
|
|
54
|
+
`tsconfig.check.json` remains a compatibility alias for this project.
|
|
55
|
+
- `bun run test` runs the in-process schema contract tests.
|
|
56
|
+
- `bun run build` uses `tsconfig.build.json` to emit production JavaScript,
|
|
57
|
+
declarations and maps into `dist`, excluding tests, specs, `__tests__` directories
|
|
58
|
+
and `src/svelte/**`.
|
|
59
|
+
|
|
60
|
+
## License
|
|
61
|
+
|
|
62
|
+
MIT. See [LICENSE](./LICENSE).
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Authenticated identity used for Forge authorship, review distinctness, and
|
|
4
|
+
* merge audit; also embedded in App's tracking-item PR sub-shape
|
|
5
|
+
* (`TrackingPrSchema.authorPrincipal`). Account ownership remains a separate
|
|
6
|
+
* tenancy/notification concern — `principalId` is the identity that must be
|
|
7
|
+
* distinct for review.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ForgePrincipalTypeSchema: z.ZodEnum<{
|
|
10
|
+
human: "human";
|
|
11
|
+
agent: "agent";
|
|
12
|
+
}>;
|
|
13
|
+
export type ForgePrincipalType = z.infer<typeof ForgePrincipalTypeSchema>;
|
|
14
|
+
export declare const ForgeActorPrincipalSchema: z.ZodObject<{
|
|
15
|
+
accountId: z.ZodString;
|
|
16
|
+
principalId: z.ZodString;
|
|
17
|
+
principalType: z.ZodEnum<{
|
|
18
|
+
human: "human";
|
|
19
|
+
agent: "agent";
|
|
20
|
+
}>;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
export type ForgeActorPrincipal = z.infer<typeof ForgeActorPrincipalSchema>;
|
|
23
|
+
//# sourceMappingURL=actor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actor.d.ts","sourceRoot":"","sources":["../../src/schemas/actor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB;;;EAA6B,CAAC;AACnE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,yBAAyB;;;;;;;kBAM5B,CAAC;AACX,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Authenticated identity used for Forge authorship, review distinctness, and
|
|
4
|
+
* merge audit; also embedded in App's tracking-item PR sub-shape
|
|
5
|
+
* (`TrackingPrSchema.authorPrincipal`). Account ownership remains a separate
|
|
6
|
+
* tenancy/notification concern — `principalId` is the identity that must be
|
|
7
|
+
* distinct for review.
|
|
8
|
+
*/
|
|
9
|
+
export const ForgePrincipalTypeSchema = z.enum(['human', 'agent']);
|
|
10
|
+
export const ForgeActorPrincipalSchema = z
|
|
11
|
+
.object({
|
|
12
|
+
accountId: z.string().min(1),
|
|
13
|
+
principalId: z.string().min(1),
|
|
14
|
+
principalType: ForgePrincipalTypeSchema
|
|
15
|
+
})
|
|
16
|
+
.strict();
|
|
17
|
+
//# sourceMappingURL=actor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actor.js","sourceRoot":"","sources":["../../src/schemas/actor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AAGnE,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACxC,MAAM,CAAC;IACP,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,aAAa,EAAE,wBAAwB;CACvC,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* The compact stack-membership projection carried on every pull-request
|
|
4
|
+
* tracking item — Forge's `ForgePrStackMembershipProjectionSchema`, consumed
|
|
5
|
+
* verbatim by App's `TrackingPrSchema.stack`. The full stack CRUD/operation/
|
|
6
|
+
* event surface (create/list/restack/merge, `ForgePrStackSchema`, and friends)
|
|
7
|
+
* stays forge-owned in `forge/src/schemas/stack.ts` — only the
|
|
8
|
+
* read-only projection embedded in tracking items is genuinely shared.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ForgePrStackStateSchema: z.ZodEnum<{
|
|
11
|
+
merged: "merged";
|
|
12
|
+
active: "active";
|
|
13
|
+
merging: "merging";
|
|
14
|
+
dissolved: "dissolved";
|
|
15
|
+
}>;
|
|
16
|
+
export type ForgePrStackState = z.infer<typeof ForgePrStackStateSchema>;
|
|
17
|
+
export declare const ForgePrStackHealthSchema: z.ZodEnum<{
|
|
18
|
+
clean: "clean";
|
|
19
|
+
"restack-required": "restack-required";
|
|
20
|
+
conflicted: "conflicted";
|
|
21
|
+
}>;
|
|
22
|
+
export type ForgePrStackHealth = z.infer<typeof ForgePrStackHealthSchema>;
|
|
23
|
+
export declare const ForgePrStackLandingPolicySchema: z.ZodEnum<{
|
|
24
|
+
"batch-allowed": "batch-allowed";
|
|
25
|
+
"one-layer-at-a-time": "one-layer-at-a-time";
|
|
26
|
+
}>;
|
|
27
|
+
export type ForgePrStackLandingPolicy = z.infer<typeof ForgePrStackLandingPolicySchema>;
|
|
28
|
+
/** Compact membership projected onto every pull-request response. */
|
|
29
|
+
export declare const ForgePrStackMembershipProjectionSchema: z.ZodObject<{
|
|
30
|
+
id: z.ZodUUID;
|
|
31
|
+
stackNumber: z.ZodNumber;
|
|
32
|
+
position: z.ZodNumber;
|
|
33
|
+
size: z.ZodNumber;
|
|
34
|
+
trunkRef: z.ZodString;
|
|
35
|
+
state: z.ZodEnum<{
|
|
36
|
+
merged: "merged";
|
|
37
|
+
active: "active";
|
|
38
|
+
merging: "merging";
|
|
39
|
+
dissolved: "dissolved";
|
|
40
|
+
}>;
|
|
41
|
+
health: z.ZodEnum<{
|
|
42
|
+
clean: "clean";
|
|
43
|
+
"restack-required": "restack-required";
|
|
44
|
+
conflicted: "conflicted";
|
|
45
|
+
}>;
|
|
46
|
+
landingPolicy: z.ZodEnum<{
|
|
47
|
+
"batch-allowed": "batch-allowed";
|
|
48
|
+
"one-layer-at-a-time": "one-layer-at-a-time";
|
|
49
|
+
}>;
|
|
50
|
+
revision: z.ZodNumber;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
export type ForgePrStackMembershipProjection = z.infer<typeof ForgePrStackMembershipProjectionSchema>;
|
|
53
|
+
//# sourceMappingURL=stack-projection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack-projection.d.ts","sourceRoot":"","sources":["../../src/schemas/stack-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;;;;EAAuD,CAAC;AAC5F,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,wBAAwB;;;;EAAsD,CAAC;AAC5F,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,+BAA+B;;;EAAmD,CAAC;AAChG,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,qEAAqE;AACrE,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;iBAUjD,CAAC;AACH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,sCAAsC,CAC7C,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* The compact stack-membership projection carried on every pull-request
|
|
4
|
+
* tracking item — Forge's `ForgePrStackMembershipProjectionSchema`, consumed
|
|
5
|
+
* verbatim by App's `TrackingPrSchema.stack`. The full stack CRUD/operation/
|
|
6
|
+
* event surface (create/list/restack/merge, `ForgePrStackSchema`, and friends)
|
|
7
|
+
* stays forge-owned in `forge/src/schemas/stack.ts` — only the
|
|
8
|
+
* read-only projection embedded in tracking items is genuinely shared.
|
|
9
|
+
*/
|
|
10
|
+
export const ForgePrStackStateSchema = z.enum(['active', 'merging', 'merged', 'dissolved']);
|
|
11
|
+
export const ForgePrStackHealthSchema = z.enum(['clean', 'restack-required', 'conflicted']);
|
|
12
|
+
export const ForgePrStackLandingPolicySchema = z.enum(['batch-allowed', 'one-layer-at-a-time']);
|
|
13
|
+
/** Compact membership projected onto every pull-request response. */
|
|
14
|
+
export const ForgePrStackMembershipProjectionSchema = z.object({
|
|
15
|
+
id: z.uuid(),
|
|
16
|
+
stackNumber: z.number().int().positive(),
|
|
17
|
+
position: z.number().int().nonnegative(),
|
|
18
|
+
size: z.number().int().min(2).max(100),
|
|
19
|
+
trunkRef: z.string().min(1),
|
|
20
|
+
state: ForgePrStackStateSchema,
|
|
21
|
+
health: ForgePrStackHealthSchema,
|
|
22
|
+
landingPolicy: ForgePrStackLandingPolicySchema,
|
|
23
|
+
revision: z.number().int().nonnegative()
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=stack-projection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack-projection.js","sourceRoot":"","sources":["../../src/schemas/stack-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;AAG5F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,kBAAkB,EAAE,YAAY,CAAC,CAAC,CAAC;AAG5F,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,qBAAqB,CAAC,CAAC,CAAC;AAGhG,qEAAqE;AACrE,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9D,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE;IACZ,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACxC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,KAAK,EAAE,uBAAuB;IAC9B,MAAM,EAAE,wBAAwB;IAChC,aAAa,EAAE,+BAA+B;IAC9C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;CACxC,CAAC,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* The Forge status-check WIRE SHAPE — one CI result reported for a PR head.
|
|
4
|
+
* Forge owns the merge-policy HELPERS that operate on this shape
|
|
5
|
+
* (`aggregateStatusChecks`, `readStatusChecks`, `upsertStatusCheck`,
|
|
6
|
+
* `statusChecksBlock(ing)Merge` — see `forge/src/schemas/wire-contracts.ts`);
|
|
7
|
+
* only the transport-neutral shape lives here, so App's tracking-item metadata
|
|
8
|
+
* bag and Forge's merge responses can agree on it without either package
|
|
9
|
+
* importing the other.
|
|
10
|
+
*/
|
|
11
|
+
/** CI state alias retained for tracking consumers. */
|
|
12
|
+
export declare const StatusCheckStateSchema: z.ZodEnum<{
|
|
13
|
+
pending: "pending";
|
|
14
|
+
success: "success";
|
|
15
|
+
failure: "failure";
|
|
16
|
+
error: "error";
|
|
17
|
+
}>;
|
|
18
|
+
export declare const StatusCheckResultSchema: z.ZodObject<{
|
|
19
|
+
context: z.ZodString;
|
|
20
|
+
state: z.ZodEnum<{
|
|
21
|
+
pending: "pending";
|
|
22
|
+
success: "success";
|
|
23
|
+
failure: "failure";
|
|
24
|
+
error: "error";
|
|
25
|
+
}>;
|
|
26
|
+
sha: z.ZodString;
|
|
27
|
+
targetUrl: z.ZodOptional<z.ZodString>;
|
|
28
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29
|
+
ciRunId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
ciAttemptId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
logsRef: z.ZodOptional<z.ZodString>;
|
|
32
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
updatedAt: z.ZodString;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
export type StatusCheckResult = z.infer<typeof StatusCheckResultSchema>;
|
|
36
|
+
/** Canonical status-check schema used by tracking persistence and merge responses. */
|
|
37
|
+
export declare const StatusCheckSchema: z.ZodObject<{
|
|
38
|
+
context: z.ZodString;
|
|
39
|
+
state: z.ZodEnum<{
|
|
40
|
+
pending: "pending";
|
|
41
|
+
success: "success";
|
|
42
|
+
failure: "failure";
|
|
43
|
+
error: "error";
|
|
44
|
+
}>;
|
|
45
|
+
sha: z.ZodString;
|
|
46
|
+
targetUrl: z.ZodOptional<z.ZodString>;
|
|
47
|
+
description: z.ZodOptional<z.ZodString>;
|
|
48
|
+
ciRunId: z.ZodOptional<z.ZodString>;
|
|
49
|
+
ciAttemptId: z.ZodOptional<z.ZodString>;
|
|
50
|
+
logsRef: z.ZodOptional<z.ZodString>;
|
|
51
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
updatedAt: z.ZodString;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
export declare const StatusCheckArraySchema: z.ZodArray<z.ZodObject<{
|
|
55
|
+
context: z.ZodString;
|
|
56
|
+
state: z.ZodEnum<{
|
|
57
|
+
pending: "pending";
|
|
58
|
+
success: "success";
|
|
59
|
+
failure: "failure";
|
|
60
|
+
error: "error";
|
|
61
|
+
}>;
|
|
62
|
+
sha: z.ZodString;
|
|
63
|
+
targetUrl: z.ZodOptional<z.ZodString>;
|
|
64
|
+
description: z.ZodOptional<z.ZodString>;
|
|
65
|
+
ciRunId: z.ZodOptional<z.ZodString>;
|
|
66
|
+
ciAttemptId: z.ZodOptional<z.ZodString>;
|
|
67
|
+
logsRef: z.ZodOptional<z.ZodString>;
|
|
68
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
updatedAt: z.ZodString;
|
|
70
|
+
}, z.core.$loose>>;
|
|
71
|
+
export type StatusCheckState = z.infer<typeof StatusCheckStateSchema>;
|
|
72
|
+
export type StatusCheck = z.infer<typeof StatusCheckSchema>;
|
|
73
|
+
//# sourceMappingURL=status-check.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-check.d.ts","sourceRoot":"","sources":["../../src/schemas/status-check.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;;;;;;;GAQG;AAEH,sDAAsD;AACtD,eAAO,MAAM,sBAAsB;;;;;EAA2B,CAAC;AAE/D,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;iBAwBrB,CAAC;AAChB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,sFAAsF;AACtF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;iBAA0B,CAAC;AACzD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;kBAA6B,CAAC;AAEjE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { TrackingPrCiStatusSchema } from "./vocabulary.js";
|
|
2
|
+
import * as z from 'zod/v4';
|
|
3
|
+
/**
|
|
4
|
+
* The Forge status-check WIRE SHAPE — one CI result reported for a PR head.
|
|
5
|
+
* Forge owns the merge-policy HELPERS that operate on this shape
|
|
6
|
+
* (`aggregateStatusChecks`, `readStatusChecks`, `upsertStatusCheck`,
|
|
7
|
+
* `statusChecksBlock(ing)Merge` — see `forge/src/schemas/wire-contracts.ts`);
|
|
8
|
+
* only the transport-neutral shape lives here, so App's tracking-item metadata
|
|
9
|
+
* bag and Forge's merge responses can agree on it without either package
|
|
10
|
+
* importing the other.
|
|
11
|
+
*/
|
|
12
|
+
/** CI state alias retained for tracking consumers. */
|
|
13
|
+
export const StatusCheckStateSchema = TrackingPrCiStatusSchema;
|
|
14
|
+
export const StatusCheckResultSchema = z
|
|
15
|
+
.object({
|
|
16
|
+
context: z.string().min(1),
|
|
17
|
+
state: TrackingPrCiStatusSchema,
|
|
18
|
+
sha: z.string().min(1),
|
|
19
|
+
targetUrl: z.string().optional(),
|
|
20
|
+
description: z.string().optional(),
|
|
21
|
+
/**
|
|
22
|
+
* Canonical CI correlation — the stable interface for log retrieval.
|
|
23
|
+
* `ciRunId`/`ciAttemptId` identify the platform CI run and attempt;
|
|
24
|
+
* `logsRef` is the durable log object reference
|
|
25
|
+
* (`r2://vibes-forge-ci-artifacts/runs/<ciRunId>/attempts/<ciAttemptId>/log.txt`)
|
|
26
|
+
* persisted by the executor for every terminal attempt.
|
|
27
|
+
*/
|
|
28
|
+
ciRunId: z.string().optional(),
|
|
29
|
+
ciAttemptId: z.string().optional(),
|
|
30
|
+
logsRef: z.string().optional(),
|
|
31
|
+
/**
|
|
32
|
+
* `false`: advisory — the check is reported but never blocks a merge (its job is not
|
|
33
|
+
* required; a branch policy may still require its context by name). Absent: blocking.
|
|
34
|
+
*/
|
|
35
|
+
required: z.boolean().optional(),
|
|
36
|
+
updatedAt: z.string().min(1)
|
|
37
|
+
})
|
|
38
|
+
.passthrough();
|
|
39
|
+
/** Canonical status-check schema used by tracking persistence and merge responses. */
|
|
40
|
+
export const StatusCheckSchema = StatusCheckResultSchema;
|
|
41
|
+
export const StatusCheckArraySchema = z.array(StatusCheckSchema);
|
|
42
|
+
//# sourceMappingURL=status-check.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-check.js","sourceRoot":"","sources":["../../src/schemas/status-check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;;;;;;;GAQG;AAEH,sDAAsD;AACtD,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AAE/D,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACtC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1B,KAAK,EAAE,wBAAwB;IAC/B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC;;;;;;OAMG;IACH,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B;;;OAGG;IACH,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC5B,CAAC;KACD,WAAW,EAAE,CAAC;AAGhB,sFAAsF;AACtF,MAAM,CAAC,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AACzD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Canonical tracking vocabulary shared by every Forge surface AND
|
|
4
|
+
* `@vibesdotdev/projects/app`'s tracking domain. Extracted as a pure leaf so neither
|
|
5
|
+
* side has to import the other just to agree on these enums — see this
|
|
6
|
+
* package's SPEC.md for the membership rule.
|
|
7
|
+
*
|
|
8
|
+
* `TrackingItemStatus` (the product lifecycle enum) is deliberately NOT here:
|
|
9
|
+
* its true canonical source is `@vibesdotdev/shared`'s `VibesProductStatusSchema`
|
|
10
|
+
* (already a pure, zero-@vibesdotdev-dep leaf) — Forge and App both alias it
|
|
11
|
+
* from there directly. Duplicating it here would fork one source into two.
|
|
12
|
+
*/
|
|
13
|
+
/** Canonical tracking item kinds shared by Forge and App consumers. */
|
|
14
|
+
export declare const TrackingItemTypeValues: readonly ["task", "bug", "research", "ops", "doc", "pr"];
|
|
15
|
+
export declare const TrackingItemTypeSchema: z.ZodEnum<{
|
|
16
|
+
task: "task";
|
|
17
|
+
bug: "bug";
|
|
18
|
+
research: "research";
|
|
19
|
+
ops: "ops";
|
|
20
|
+
doc: "doc";
|
|
21
|
+
pr: "pr";
|
|
22
|
+
}>;
|
|
23
|
+
export type TrackingItemType = z.infer<typeof TrackingItemTypeSchema>;
|
|
24
|
+
/** Canonical urgency levels for tracking items. */
|
|
25
|
+
export declare const TrackingItemPriorityValues: readonly ["low", "medium", "high", "urgent"];
|
|
26
|
+
export declare const TrackingItemPrioritySchema: z.ZodEnum<{
|
|
27
|
+
low: "low";
|
|
28
|
+
medium: "medium";
|
|
29
|
+
high: "high";
|
|
30
|
+
urgent: "urgent";
|
|
31
|
+
}>;
|
|
32
|
+
export type TrackingItemPriority = z.infer<typeof TrackingItemPrioritySchema>;
|
|
33
|
+
/** Pull-request lifecycle states shared by every Forge/App surface. */
|
|
34
|
+
export declare const TrackingPrStateValues: readonly ["draft", "open", "merged", "closed"];
|
|
35
|
+
export declare const TrackingPrStateSchema: z.ZodEnum<{
|
|
36
|
+
draft: "draft";
|
|
37
|
+
open: "open";
|
|
38
|
+
merged: "merged";
|
|
39
|
+
closed: "closed";
|
|
40
|
+
}>;
|
|
41
|
+
export type TrackingPrState = z.infer<typeof TrackingPrStateSchema>;
|
|
42
|
+
/** Aggregate CI states for one exact pull-request head (Forge's "status-check state"). */
|
|
43
|
+
export declare const TrackingPrCiStatusValues: readonly ["pending", "success", "failure", "error"];
|
|
44
|
+
export declare const TrackingPrCiStatusSchema: z.ZodEnum<{
|
|
45
|
+
pending: "pending";
|
|
46
|
+
success: "success";
|
|
47
|
+
failure: "failure";
|
|
48
|
+
error: "error";
|
|
49
|
+
}>;
|
|
50
|
+
export type TrackingPrCiStatus = z.infer<typeof TrackingPrCiStatusSchema>;
|
|
51
|
+
/** Source responsible for a tracking comment. */
|
|
52
|
+
export declare const TrackingCommentSourceSchema: z.ZodEnum<{
|
|
53
|
+
human: "human";
|
|
54
|
+
agent: "agent";
|
|
55
|
+
system: "system";
|
|
56
|
+
}>;
|
|
57
|
+
export type TrackingCommentSource = z.infer<typeof TrackingCommentSourceSchema>;
|
|
58
|
+
/** Diff side an inline review comment anchors to. */
|
|
59
|
+
export declare const TrackingReviewSideSchema: z.ZodEnum<{
|
|
60
|
+
old: "old";
|
|
61
|
+
new: "new";
|
|
62
|
+
}>;
|
|
63
|
+
export type TrackingReviewSide = z.infer<typeof TrackingReviewSideSchema>;
|
|
64
|
+
/** Review verdict carried by a comment. */
|
|
65
|
+
export declare const TrackingReviewStateSchema: z.ZodEnum<{
|
|
66
|
+
approved: "approved";
|
|
67
|
+
"changes-requested": "changes-requested";
|
|
68
|
+
commented: "commented";
|
|
69
|
+
}>;
|
|
70
|
+
export type TrackingReviewState = z.infer<typeof TrackingReviewStateSchema>;
|
|
71
|
+
//# sourceMappingURL=vocabulary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vocabulary.d.ts","sourceRoot":"","sources":["../../src/schemas/vocabulary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;;;;;;;;;GAUG;AAEH,uEAAuE;AACvE,eAAO,MAAM,sBAAsB,0DAA2D,CAAC;AAC/F,eAAO,MAAM,sBAAsB;;;;;;;EAAiC,CAAC;AACrE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,mDAAmD;AACnD,eAAO,MAAM,0BAA0B,8CAA+C,CAAC;AACvF,eAAO,MAAM,0BAA0B;;;;;EAAqC,CAAC;AAC7E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,uEAAuE;AACvE,eAAO,MAAM,qBAAqB,gDAAiD,CAAC;AACpF,eAAO,MAAM,qBAAqB;;;;;EAAgC,CAAC;AACnE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,0FAA0F;AAC1F,eAAO,MAAM,wBAAwB,qDAAsD,CAAC;AAC5F,eAAO,MAAM,wBAAwB;;;;;EAAmC,CAAC;AACzE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,iDAAiD;AACjD,eAAO,MAAM,2BAA2B;;;;EAAuC,CAAC;AAChF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,qDAAqD;AACrD,eAAO,MAAM,wBAAwB;;;EAAyB,CAAC;AAC/D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,2CAA2C;AAC3C,eAAO,MAAM,yBAAyB;;;;EAAyD,CAAC;AAChG,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Canonical tracking vocabulary shared by every Forge surface AND
|
|
4
|
+
* `@vibesdotdev/projects/app`'s tracking domain. Extracted as a pure leaf so neither
|
|
5
|
+
* side has to import the other just to agree on these enums — see this
|
|
6
|
+
* package's SPEC.md for the membership rule.
|
|
7
|
+
*
|
|
8
|
+
* `TrackingItemStatus` (the product lifecycle enum) is deliberately NOT here:
|
|
9
|
+
* its true canonical source is `@vibesdotdev/shared`'s `VibesProductStatusSchema`
|
|
10
|
+
* (already a pure, zero-@vibesdotdev-dep leaf) — Forge and App both alias it
|
|
11
|
+
* from there directly. Duplicating it here would fork one source into two.
|
|
12
|
+
*/
|
|
13
|
+
/** Canonical tracking item kinds shared by Forge and App consumers. */
|
|
14
|
+
export const TrackingItemTypeValues = ['task', 'bug', 'research', 'ops', 'doc', 'pr'];
|
|
15
|
+
export const TrackingItemTypeSchema = z.enum(TrackingItemTypeValues);
|
|
16
|
+
/** Canonical urgency levels for tracking items. */
|
|
17
|
+
export const TrackingItemPriorityValues = ['low', 'medium', 'high', 'urgent'];
|
|
18
|
+
export const TrackingItemPrioritySchema = z.enum(TrackingItemPriorityValues);
|
|
19
|
+
/** Pull-request lifecycle states shared by every Forge/App surface. */
|
|
20
|
+
export const TrackingPrStateValues = ['draft', 'open', 'merged', 'closed'];
|
|
21
|
+
export const TrackingPrStateSchema = z.enum(TrackingPrStateValues);
|
|
22
|
+
/** Aggregate CI states for one exact pull-request head (Forge's "status-check state"). */
|
|
23
|
+
export const TrackingPrCiStatusValues = ['pending', 'success', 'failure', 'error'];
|
|
24
|
+
export const TrackingPrCiStatusSchema = z.enum(TrackingPrCiStatusValues);
|
|
25
|
+
/** Source responsible for a tracking comment. */
|
|
26
|
+
export const TrackingCommentSourceSchema = z.enum(['human', 'agent', 'system']);
|
|
27
|
+
/** Diff side an inline review comment anchors to. */
|
|
28
|
+
export const TrackingReviewSideSchema = z.enum(['old', 'new']);
|
|
29
|
+
/** Review verdict carried by a comment. */
|
|
30
|
+
export const TrackingReviewStateSchema = z.enum(['approved', 'changes-requested', 'commented']);
|
|
31
|
+
//# sourceMappingURL=vocabulary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vocabulary.js","sourceRoot":"","sources":["../../src/schemas/vocabulary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;;;;;;;;;GAUG;AAEH,uEAAuE;AACvE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAU,CAAC;AAC/F,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;AAGrE,mDAAmD;AACnD,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAU,CAAC;AACvF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;AAG7E,uEAAuE;AACvE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAC;AACpF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAGnE,0FAA0F;AAC1F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAU,CAAC;AAC5F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;AAGzE,iDAAiD;AACjD,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;AAGhF,qDAAqD;AACrD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AAG/D,2CAA2C;AAC3C,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,mBAAmB,EAAE,WAAW,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,85 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibesdotdev/tracking-schemas",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
}
|
|
3
|
+
"version": "1.0.0-rc.6",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"zod": "^4.6.7"
|
|
6
|
+
},
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"bun": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md",
|
|
19
|
+
"LICENSE",
|
|
20
|
+
"!dist/tsconfig.tsbuildinfo",
|
|
21
|
+
"!**/.turbo/**",
|
|
22
|
+
"!**/.svelte-kit/**",
|
|
23
|
+
"!**/.vibes/**",
|
|
24
|
+
"!**/__tests__/**",
|
|
25
|
+
"!**/__stubs__/**",
|
|
26
|
+
"!**/*.test.js",
|
|
27
|
+
"!**/*.test.mjs",
|
|
28
|
+
"!**/*.test.cjs",
|
|
29
|
+
"!**/*.test.jsx",
|
|
30
|
+
"!**/*.test.ts",
|
|
31
|
+
"!**/*.test.mts",
|
|
32
|
+
"!**/*.test.cts",
|
|
33
|
+
"!**/*.test.tsx",
|
|
34
|
+
"!**/*.spec.js",
|
|
35
|
+
"!**/*.spec.mjs",
|
|
36
|
+
"!**/*.spec.cjs",
|
|
37
|
+
"!**/*.spec.jsx",
|
|
38
|
+
"!**/*.spec.ts",
|
|
39
|
+
"!**/*.spec.mts",
|
|
40
|
+
"!**/*.spec.cts",
|
|
41
|
+
"!**/*.spec.tsx",
|
|
42
|
+
"!**/SPEC.md",
|
|
43
|
+
"!**/tsconfig.json",
|
|
44
|
+
"!**/tsconfig.*.json",
|
|
45
|
+
"!**/*.tsbuildinfo",
|
|
46
|
+
"!**/.build-ok.json",
|
|
47
|
+
"!**/*.tgz"
|
|
48
|
+
],
|
|
49
|
+
"scripts": {
|
|
50
|
+
"lint": "node ../node_modules/@vibesdotdev/internal-oxlint-toolchain/ratchet.mjs .",
|
|
51
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|
|
52
|
+
"check": "${BUN:-bun} --bun tsc -p tsconfig.json",
|
|
53
|
+
"test": "${BUN:-bun} test src"
|
|
54
|
+
},
|
|
55
|
+
"repository": {
|
|
56
|
+
"type": "git",
|
|
57
|
+
"url": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
|
|
58
|
+
"directory": "tracking-schemas"
|
|
59
|
+
},
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"registry": "https://packages.vibes.dev",
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"vibes": {
|
|
65
|
+
"visibility": "public",
|
|
66
|
+
"registry": {
|
|
67
|
+
"repositoryId": "4b1374d4-6830-4bfd-98e3-de66416368a8",
|
|
68
|
+
"directory": "tracking-schemas"
|
|
69
|
+
},
|
|
70
|
+
"handedRuntimeLogging": true,
|
|
71
|
+
"compositionRoots": [
|
|
72
|
+
"src/__tests__/package-files.ts"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"license": "MIT",
|
|
76
|
+
"description": "Transport-neutral tracking contract (Zod) shared by @vibesdotdev/forge and @vibesdotdev/projects/app — pure leaf, zero @vibesdotdev/* runtime dependencies",
|
|
77
|
+
"type": "module",
|
|
78
|
+
"types": "./dist/index.d.ts",
|
|
79
|
+
"gitHead": "d1948c757f179d2c3fb41553347085335cb76710",
|
|
80
|
+
"_vibes_source": {
|
|
81
|
+
"repo": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
|
|
82
|
+
"sha": "d1948c757f179d2c3fb41553347085335cb76710",
|
|
83
|
+
"workspaceDigest": "sha256:5718e1a087262e986d3732a2f8d75963a0b3786c55f2e2b99e62b532953feb1d"
|
|
84
|
+
}
|
|
85
|
+
}
|