@mossbear/protocol 0.1.0-alpha.53 → 0.1.0-alpha.55
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/dist/agentGuidancePaths.d.ts +1 -1
- package/dist/agentGuidancePaths.js +1 -1
- package/dist/contextKinds.d.ts +93 -74
- package/dist/contextKinds.d.ts.map +1 -1
- package/dist/contextKinds.js +78 -52
- package/dist/contextKinds.js.map +1 -1
- package/dist/contextKinds.test.js +95 -95
- package/dist/contextKinds.test.js.map +1 -1
- package/dist/schemas.d.ts +1106 -33
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +318 -15
- package/dist/schemas.js.map +1 -1
- package/dist/schemas.test.js +107 -22
- package/dist/schemas.test.js.map +1 -1
- package/dist/types.d.ts +3 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/whatSyncs.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,35 +1,40 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { describe, expect, it } from 'vitest';
|
|
3
|
-
import { BUNDLE_MEMBER_TYPES, CONTEXT_CONTENT_TYPES, CONTEXT_ITEM_TYPES, INBOX_CONTENT_TYPES, PUSH_CONTENT_TYPES,
|
|
4
|
-
import { BundleMemberTypeSchema, ContextItemTypeSchema, InboxContentTypeSchema, PushContentTypeSchema, } from './schemas.js';
|
|
3
|
+
import { BUNDLE_MEMBER_TYPES, CONTEXT_CONTENT_TYPES, CONTEXT_ITEM_TYPE_FILTER_VALUES, CONTEXT_ITEM_TYPES, INBOX_CONTENT_TYPES, PUSH_CONTENT_TYPES, itemTypeForKind, kindFilterForItemTypes, } from './contextKinds.js';
|
|
4
|
+
import { BundleMemberTypeSchema, ContextItemTypeFilterSchema, ContextItemTypeSchema, InboxContentTypeSchema, PushContentTypeSchema, } from './schemas.js';
|
|
5
5
|
/**
|
|
6
6
|
* These are pins, not specifications. Each literal below is a hand-written copy
|
|
7
|
-
* of what the wire
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* of what the wire carries, so a table edit that would change what a client
|
|
8
|
+
* sends or accepts fails here — where the change is visible and deliberate —
|
|
9
|
+
* rather than in a released CLI.
|
|
10
10
|
*
|
|
11
11
|
* Editing a literal in this file is therefore a wire change. If that is what you
|
|
12
12
|
* mean, the row in `CONTEXT_CONTENT_KINDS` and the pin move together and the
|
|
13
13
|
* commit says which clients are affected.
|
|
14
14
|
*/
|
|
15
15
|
describe('the derived picklists still carry the values they replaced', () => {
|
|
16
|
-
it('an agent reads back a guide,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
'reference',
|
|
22
|
-
'asset',
|
|
23
|
-
]);
|
|
16
|
+
it('an agent reads back a guide, content or an asset — document is gone', () => {
|
|
17
|
+
// `document` was renamed to `content` — the umbrella noun is `artifact`
|
|
18
|
+
// (D20) and the enum member can no longer claim a guide is not one.
|
|
19
|
+
expect(CONTEXT_ITEM_TYPES).toEqual(['guide', 'content', 'asset']);
|
|
20
|
+
expect(ContextItemTypeSchema.options).toEqual(['guide', 'content', 'asset']);
|
|
24
21
|
});
|
|
25
|
-
it('
|
|
26
|
-
expect(
|
|
27
|
-
expect(
|
|
22
|
+
it('?types= no longer accepts document — the compatibility window closed', () => {
|
|
23
|
+
expect(CONTEXT_ITEM_TYPE_FILTER_VALUES).toEqual(['guide', 'content', 'asset']);
|
|
24
|
+
expect(ContextItemTypeFilterSchema.options).toEqual(['guide', 'content', 'asset']);
|
|
25
|
+
expect(v.safeParse(ContextItemTypeFilterSchema, 'document').success).toBe(false);
|
|
26
|
+
});
|
|
27
|
+
it('a caller pushes content or an asset — document is refused', () => {
|
|
28
|
+
expect(PUSH_CONTENT_TYPES).toEqual(['content', 'asset']);
|
|
29
|
+
expect(PushContentTypeSchema.options).toEqual(['content', 'asset']);
|
|
30
|
+
expect(v.safeParse(PushContentTypeSchema, 'document').success).toBe(false);
|
|
31
|
+
expect(v.safeParse(PushContentTypeSchema, 'reference').success).toBe(false);
|
|
28
32
|
expect(v.safeParse(PushContentTypeSchema, 'guide').success).toBe(false);
|
|
29
33
|
});
|
|
30
|
-
it('the inbox captures
|
|
31
|
-
expect(INBOX_CONTENT_TYPES).toEqual(['
|
|
32
|
-
expect(InboxContentTypeSchema.options).toEqual(['
|
|
34
|
+
it('the inbox captures content or an asset — document is refused', () => {
|
|
35
|
+
expect(INBOX_CONTENT_TYPES).toEqual(['content', 'asset']);
|
|
36
|
+
expect(InboxContentTypeSchema.options).toEqual(['content', 'asset']);
|
|
37
|
+
expect(v.safeParse(InboxContentTypeSchema, 'document').success).toBe(false);
|
|
33
38
|
expect(v.safeParse(InboxContentTypeSchema, 'reference').success).toBe(false);
|
|
34
39
|
});
|
|
35
40
|
it('a bundle member is a guide_file or a guide', () => {
|
|
@@ -37,118 +42,113 @@ describe('the derived picklists still carry the values they replaced', () => {
|
|
|
37
42
|
expect(BundleMemberTypeSchema.options).toEqual(['guide_file', 'guide']);
|
|
38
43
|
});
|
|
39
44
|
it('membership kinds are a different axis from content kinds', () => {
|
|
40
|
-
// `guide_file` is a table, not
|
|
41
|
-
//
|
|
42
|
-
//
|
|
45
|
+
// `guide_file` is a table, not an item type. If a content kind ever appears
|
|
46
|
+
// here the two axes have been merged and the narrowings above stop meaning
|
|
47
|
+
// what they say.
|
|
43
48
|
expect(CONTEXT_CONTENT_TYPES).not.toContain('guide_file');
|
|
44
|
-
for (const
|
|
45
|
-
expect(BUNDLE_MEMBER_TYPES).not.toContain(
|
|
49
|
+
for (const itemType of CONTEXT_CONTENT_TYPES) {
|
|
50
|
+
expect(BUNDLE_MEMBER_TYPES).not.toContain(itemType);
|
|
46
51
|
}
|
|
47
52
|
});
|
|
48
53
|
});
|
|
49
|
-
describe('
|
|
50
|
-
it
|
|
51
|
-
|
|
54
|
+
describe('the pair decides, never the role alone', () => {
|
|
55
|
+
it('reads a script as neither pushable nor capturable', () => {
|
|
56
|
+
// The case the plan singles out. `script` is `content` + `code`, and a table
|
|
57
|
+
// keyed on `role` would make it indistinguishable from ordinary markdown
|
|
58
|
+
// content — silently handing it both flags. Asserted on the picklists
|
|
59
|
+
// themselves, because that is where the mistake would show up.
|
|
60
|
+
expect(itemTypeForKind('content', 'code')).toBe('content');
|
|
61
|
+
expect(PUSH_CONTENT_TYPES).not.toContain('script');
|
|
62
|
+
expect(INBOX_CONTENT_TYPES).not.toContain('script');
|
|
63
|
+
const filter = kindFilterForItemTypes(['asset']);
|
|
64
|
+
expect(filter.kinds).not.toContainEqual({ role: 'content', format: 'code' });
|
|
65
|
+
});
|
|
66
|
+
it('separates an asset from content on format alone', () => {
|
|
67
|
+
expect(itemTypeForKind('content', 'binary')).toBe('asset');
|
|
68
|
+
expect(itemTypeForKind('content', 'markdown')).toBe('content');
|
|
52
69
|
});
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
it.each([
|
|
56
|
-
|
|
70
|
+
});
|
|
71
|
+
describe('an unrecognized kind still reads back as content', () => {
|
|
72
|
+
it.each([
|
|
73
|
+
['guidance', 'markdown'],
|
|
74
|
+
['criteria', 'markdown'],
|
|
75
|
+
['content', 'code'],
|
|
76
|
+
['content', 'html'],
|
|
77
|
+
['something-we-retired', 'markdown'],
|
|
78
|
+
])('%s + %s collapses onto content', (role, format) => {
|
|
79
|
+
expect(itemTypeForKind(role, format)).toBe('content');
|
|
57
80
|
});
|
|
58
|
-
it('a
|
|
59
|
-
|
|
81
|
+
it('a row carrying no kind at all is content too', () => {
|
|
82
|
+
// A tombstone, and an alias. Neither has a word of its own on this surface.
|
|
83
|
+
expect(itemTypeForKind(null, null)).toBe('content');
|
|
60
84
|
});
|
|
61
85
|
});
|
|
62
86
|
describe('filtering by item type selects exactly the rows that serialize as it', () => {
|
|
63
|
-
|
|
64
|
-
// types no context narrowing admits. `expected` is what the serializer calls
|
|
65
|
-
// each one — computed from `contentTypeToItemType`, which is the mapping the
|
|
66
|
-
// SQL filter has to agree with.
|
|
87
|
+
/** The pairs a real table would hold, tombstone included. */
|
|
67
88
|
const rows = [
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
null,
|
|
89
|
+
{ label: 'content', role: 'content', format: 'markdown' },
|
|
90
|
+
{ label: 'asset', role: 'content', format: 'binary' },
|
|
91
|
+
{ label: 'instructions', role: 'guidance', format: 'markdown' },
|
|
92
|
+
{ label: 'eval', role: 'criteria', format: 'markdown' },
|
|
93
|
+
{ label: 'script', role: 'content', format: 'code' },
|
|
94
|
+
{ label: 'tombstone', role: null, format: null },
|
|
75
95
|
];
|
|
76
|
-
/** Evaluates a `
|
|
96
|
+
/** Evaluates a `ContentKindFilter` the way the SQL predicate does. */
|
|
77
97
|
function selects(filter) {
|
|
78
|
-
return (
|
|
79
|
-
|
|
80
|
-
const isIn = (set) => contentType !== null && set.includes(contentType);
|
|
81
|
-
const isNotIn = (set) => contentType !== null && !set.includes(contentType);
|
|
98
|
+
return (row) => {
|
|
99
|
+
const matches = (k) => k.role === row.role && k.format === row.format;
|
|
82
100
|
if (filter.kind === 'in')
|
|
83
|
-
return
|
|
84
|
-
return
|
|
101
|
+
return filter.kinds.some(matches);
|
|
102
|
+
return filter.kinds.some(matches) || !filter.excluding.some(matches);
|
|
85
103
|
};
|
|
86
104
|
}
|
|
87
105
|
const cases = [
|
|
88
|
-
{ wanted: ['reference'], expected: ['reference'] },
|
|
89
106
|
{ wanted: ['asset'], expected: ['asset'] },
|
|
90
|
-
|
|
91
|
-
//
|
|
92
|
-
// what the serializer calls them.
|
|
93
|
-
{
|
|
94
|
-
wanted: ['document'],
|
|
95
|
-
expected: ['document', 'instructions', 'eval', 'script', null],
|
|
96
|
-
},
|
|
107
|
+
// `content` drags in every unlisted pair and the tombstone, because that
|
|
108
|
+
// is what the serializer calls them.
|
|
97
109
|
{
|
|
98
|
-
wanted: ['
|
|
99
|
-
expected: ['
|
|
110
|
+
wanted: ['content'],
|
|
111
|
+
expected: ['content', 'instructions', 'eval', 'script', 'tombstone'],
|
|
100
112
|
},
|
|
101
|
-
{ wanted: ['
|
|
102
|
-
// A guide is not a `guide_files` row at all, so no
|
|
113
|
+
{ wanted: ['content', 'asset'], expected: rows.map((r) => r.label) },
|
|
114
|
+
// A guide is not a `guide_files` row at all, so no kind matches.
|
|
103
115
|
{ wanted: ['guide'], expected: [] },
|
|
104
116
|
{ wanted: [], expected: [] },
|
|
117
|
+
// A value outside this function's vocabulary matches no kind — including
|
|
118
|
+
// the retired `reference` and `document`, both of which `?types=` now
|
|
119
|
+
// refuses at `ContextItemTypeFilterSchema` before reaching here, so this
|
|
120
|
+
// is the belt-and-braces arm rather than the one a client can hit.
|
|
121
|
+
{ wanted: ['reference'], expected: [] },
|
|
122
|
+
{ wanted: ['document'], expected: [] },
|
|
105
123
|
];
|
|
106
124
|
it.each(cases)('?types=$wanted matches the rows the serializer agrees with', (c) => {
|
|
107
|
-
const matches = rows.filter(selects(
|
|
108
|
-
expect(matches).toEqual(c.expected);
|
|
125
|
+
const matches = rows.filter(selects(kindFilterForItemTypes(c.wanted)));
|
|
126
|
+
expect(matches.map((r) => r.label)).toEqual(c.expected);
|
|
109
127
|
});
|
|
110
128
|
it('never returns a row whose item type the caller did not ask for', () => {
|
|
111
129
|
for (const c of cases) {
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
expect(c.wanted).toContain(contentTypeToItemType(row));
|
|
130
|
+
for (const row of rows.filter(selects(kindFilterForItemTypes(c.wanted)))) {
|
|
131
|
+
expect(c.wanted).toContain(itemTypeForKind(row.role, row.format));
|
|
115
132
|
}
|
|
116
133
|
}
|
|
117
134
|
});
|
|
118
135
|
it('returns every row whose item type the caller did ask for', () => {
|
|
119
136
|
for (const c of cases) {
|
|
120
|
-
const matched = rows.filter(selects(
|
|
137
|
+
const matched = rows.filter(selects(kindFilterForItemTypes(c.wanted)));
|
|
121
138
|
for (const row of rows) {
|
|
122
|
-
if (c.wanted.includes(
|
|
139
|
+
if (c.wanted.includes(itemTypeForKind(row.role, row.format))) {
|
|
123
140
|
expect(matched).toContain(row);
|
|
141
|
+
}
|
|
124
142
|
}
|
|
125
143
|
}
|
|
126
144
|
});
|
|
127
|
-
it('
|
|
128
|
-
//
|
|
129
|
-
//
|
|
130
|
-
//
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
// isNull(contentType))
|
|
135
|
-
// : inArray(contentType, wanted)
|
|
136
|
-
const previous = (typeFilter) => {
|
|
137
|
-
const wanted = ['document', 'reference', 'asset'].filter((ct) => typeFilter.has(contentTypeToItemType(ct)));
|
|
138
|
-
return (contentType) => {
|
|
139
|
-
const isIn = (set) => contentType !== null && set.includes(contentType);
|
|
140
|
-
if (!typeFilter.has('document'))
|
|
141
|
-
return isIn(wanted);
|
|
142
|
-
return (isIn(wanted) ||
|
|
143
|
-
(contentType !== null && !['reference', 'asset'].includes(contentType)) ||
|
|
144
|
-
contentType === null);
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
for (const c of cases) {
|
|
148
|
-
const now = rows.filter(selects(contentTypeFilterForItemTypes(c.wanted)));
|
|
149
|
-
const before = rows.filter(previous(new Set(c.wanted)));
|
|
150
|
-
expect(now).toEqual(before);
|
|
151
|
-
}
|
|
145
|
+
it('keeps the tombstone reachable, which a plain negation would drop', () => {
|
|
146
|
+
// The NULL trap, restated for two columns. A predicate written as a plain
|
|
147
|
+
// `role != 'content' AND format != 'binary'` is NULL for a tombstone and so
|
|
148
|
+
// drops exactly the rows the serializer still calls `content`.
|
|
149
|
+
const filter = kindFilterForItemTypes(['content']);
|
|
150
|
+
const tombstone = rows.find((r) => r.label === 'tombstone');
|
|
151
|
+
expect(selects(filter)(tombstone)).toBe(true);
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
//# sourceMappingURL=contextKinds.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextKinds.test.js","sourceRoot":"","sources":["../src/contextKinds.test.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,
|
|
1
|
+
{"version":3,"file":"contextKinds.test.js","sourceRoot":"","sources":["../src/contextKinds.test.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,+BAA+B,EAC/B,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,GACvB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,cAAc,CAAA;AAErB;;;;;;;;;GASG;AACH,QAAQ,CAAC,4DAA4D,EAAE,GAAG,EAAE;IAC1E,EAAE,CAAC,qEAAqE,EAAE,GAAG,EAAE;QAC7E,wEAAwE;QACxE,oEAAoE;QACpE,MAAM,CAAC,kBAAkB,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAA;QACjE,MAAM,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAA;IAC9E,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,sEAAsE,EAAE,GAAG,EAAE;QAC9E,MAAM,CAAC,+BAA+B,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CA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