@yosai/cli 0.2.1-test.8 → 0.2.1-test.9

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.
@@ -0,0 +1,200 @@
1
+ {
2
+ "title": "示例:Agent few-shot",
3
+ "attachments": [],
4
+ "content": {
5
+ "type": "doc",
6
+ "content": [
7
+ {
8
+ "type": "heading",
9
+ "attrs": { "level": 1, "indent": 0, "textAlign": null, "collapsed": false },
10
+ "content": [{ "type": "text", "text": "产品说明" }]
11
+ },
12
+ {
13
+ "type": "paragraph",
14
+ "attrs": { "indent": 0, "textAlign": null },
15
+ "content": [
16
+ { "type": "text", "text": "这是一段" },
17
+ { "type": "text", "marks": [{ "type": "bold" }], "text": "加粗" },
18
+ { "type": "text", "text": "与" },
19
+ {
20
+ "type": "text",
21
+ "marks": [
22
+ {
23
+ "type": "link",
24
+ "attrs": {
25
+ "href": "https://example.com",
26
+ "target": "_blank",
27
+ "rel": "noopener noreferrer nofollow",
28
+ "class": "yos-docs-editor-link",
29
+ "title": null
30
+ }
31
+ }
32
+ ],
33
+ "text": "链接"
34
+ },
35
+ { "type": "text", "text": "。" }
36
+ ]
37
+ },
38
+ {
39
+ "type": "callout",
40
+ "attrs": {
41
+ "emoji": "💡",
42
+ "backgroundColor": "#e1eafe",
43
+ "borderColor": "#80a7f9"
44
+ },
45
+ "content": [
46
+ {
47
+ "type": "paragraph",
48
+ "attrs": { "indent": 0, "textAlign": null },
49
+ "content": [{ "type": "text", "text": "高亮提示:优先写清验收标准。" }]
50
+ }
51
+ ]
52
+ },
53
+ {
54
+ "type": "heading",
55
+ "attrs": { "level": 2, "indent": 0, "textAlign": null, "collapsed": false },
56
+ "content": [{ "type": "text", "text": "清单" }]
57
+ },
58
+ {
59
+ "type": "bulletList",
60
+ "content": [
61
+ {
62
+ "type": "listItem",
63
+ "attrs": { "collapsed": false },
64
+ "content": [
65
+ {
66
+ "type": "paragraph",
67
+ "attrs": { "indent": 0, "textAlign": null },
68
+ "content": [{ "type": "text", "text": "第一项" }]
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "type": "listItem",
74
+ "attrs": { "collapsed": false },
75
+ "content": [
76
+ {
77
+ "type": "paragraph",
78
+ "attrs": { "indent": 0, "textAlign": null },
79
+ "content": [{ "type": "text", "text": "第二项" }]
80
+ }
81
+ ]
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "type": "taskList",
87
+ "content": [
88
+ {
89
+ "type": "taskItem",
90
+ "attrs": { "checked": false },
91
+ "content": [
92
+ {
93
+ "type": "paragraph",
94
+ "attrs": { "indent": 0, "textAlign": null },
95
+ "content": [{ "type": "text", "text": "待办示例" }]
96
+ }
97
+ ]
98
+ }
99
+ ]
100
+ },
101
+ {
102
+ "type": "codeBlock",
103
+ "attrs": {
104
+ "language": "typescript",
105
+ "wrap": false,
106
+ "caption": "示例",
107
+ "collapsed": false,
108
+ "regionFolds": []
109
+ },
110
+ "content": [{ "type": "text", "text": "export const ok = true;\n" }]
111
+ },
112
+ {
113
+ "type": "table",
114
+ "content": [
115
+ {
116
+ "type": "tableRow",
117
+ "attrs": { "height": null },
118
+ "content": [
119
+ {
120
+ "type": "tableHeader",
121
+ "attrs": {
122
+ "colspan": 1,
123
+ "rowspan": 1,
124
+ "colwidth": null,
125
+ "align": null,
126
+ "backgroundColor": null
127
+ },
128
+ "content": [
129
+ {
130
+ "type": "paragraph",
131
+ "attrs": { "indent": 0, "textAlign": null },
132
+ "content": [{ "type": "text", "text": "列 A" }]
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "type": "tableHeader",
138
+ "attrs": {
139
+ "colspan": 1,
140
+ "rowspan": 1,
141
+ "colwidth": null,
142
+ "align": null,
143
+ "backgroundColor": null
144
+ },
145
+ "content": [
146
+ {
147
+ "type": "paragraph",
148
+ "attrs": { "indent": 0, "textAlign": null },
149
+ "content": [{ "type": "text", "text": "列 B" }]
150
+ }
151
+ ]
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ "type": "tableRow",
157
+ "attrs": { "height": null },
158
+ "content": [
159
+ {
160
+ "type": "tableCell",
161
+ "attrs": {
162
+ "colspan": 1,
163
+ "rowspan": 1,
164
+ "colwidth": null,
165
+ "align": null,
166
+ "backgroundColor": null
167
+ },
168
+ "content": [
169
+ {
170
+ "type": "paragraph",
171
+ "attrs": { "indent": 0, "textAlign": null },
172
+ "content": [{ "type": "text", "text": "1" }]
173
+ }
174
+ ]
175
+ },
176
+ {
177
+ "type": "tableCell",
178
+ "attrs": {
179
+ "colspan": 1,
180
+ "rowspan": 1,
181
+ "colwidth": null,
182
+ "align": null,
183
+ "backgroundColor": null
184
+ },
185
+ "content": [
186
+ {
187
+ "type": "paragraph",
188
+ "attrs": { "indent": 0, "textAlign": null },
189
+ "content": [{ "type": "text", "text": "2" }]
190
+ }
191
+ ]
192
+ }
193
+ ]
194
+ }
195
+ ]
196
+ },
197
+ { "type": "horizontalRule" }
198
+ ]
199
+ }
200
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "id": "sheet-agent-demo",
3
+ "name": "销售明细 Demo",
4
+ "appVersion": "0.25.1",
5
+ "locale": "zhCN",
6
+ "sheetOrder": ["sheet-1"],
7
+ "sheets": {
8
+ "sheet-1": {
9
+ "id": "sheet-1",
10
+ "name": "销售明细",
11
+ "rowCount": 100,
12
+ "columnCount": 20,
13
+ "cellData": {
14
+ "0": {
15
+ "0": { "v": "品名", "t": 1 },
16
+ "1": { "v": "数量", "t": 1 },
17
+ "2": { "v": "单价", "t": 1 },
18
+ "3": { "v": "小计", "t": 1 }
19
+ },
20
+ "1": {
21
+ "0": { "v": "示例 A", "t": 1 },
22
+ "1": { "v": 2, "t": 2 },
23
+ "2": { "v": 10.5, "t": 2 },
24
+ "3": { "f": "=B2*C2", "v": 21, "t": 2 }
25
+ },
26
+ "2": {
27
+ "0": { "v": "示例 B", "t": 1 },
28
+ "1": { "v": 3, "t": 2 },
29
+ "2": { "v": 15, "t": 2 },
30
+ "3": { "f": "=B3*C3", "v": 45, "t": 2 }
31
+ },
32
+ "3": {
33
+ "0": { "v": "合计", "t": 1 },
34
+ "1": { "f": "=SUM(B2:B3)", "v": 5, "t": 2 },
35
+ "3": { "f": "=SUM(D2:D3)", "v": 66, "t": 2 }
36
+ }
37
+ }
38
+ }
39
+ },
40
+ "resources": []
41
+ }
@@ -0,0 +1,147 @@
1
+ {
2
+ "id": "sheet-template",
3
+ "name": "示例表格(字段覆盖)",
4
+ "appVersion": "0.25.1",
5
+ "locale": "zhCN",
6
+ "styles": {
7
+ "header": {
8
+ "bl": 1,
9
+ "ht": 2,
10
+ "vt": 2,
11
+ "bg": { "rgb": "#E8F3FF" },
12
+ "cl": { "rgb": "#1F2329" },
13
+ "bd": {
14
+ "b": {
15
+ "s": 1,
16
+ "cl": { "rgb": "#94BFFF" }
17
+ }
18
+ }
19
+ },
20
+ "number": {
21
+ "ht": 3,
22
+ "n": { "pattern": "0.00" }
23
+ },
24
+ "warn": {
25
+ "bg": { "rgb": "#FFF7E8" },
26
+ "cl": { "rgb": "#D25F00" }
27
+ }
28
+ },
29
+ "sheetOrder": ["sheet-1", "sheet-2"],
30
+ "sheets": {
31
+ "sheet-1": {
32
+ "id": "sheet-1",
33
+ "name": "销售明细",
34
+ "tabColor": "#3491FA",
35
+ "hidden": 0,
36
+ "rowCount": 100,
37
+ "columnCount": 20,
38
+ "defaultColumnWidth": 88,
39
+ "defaultRowHeight": 24,
40
+ "zoomRatio": 1,
41
+ "scrollTop": 0,
42
+ "scrollLeft": 0,
43
+ "showGridlines": 1,
44
+ "rightToLeft": 0,
45
+ "freeze": {
46
+ "xSplit": 0,
47
+ "ySplit": 1,
48
+ "startRow": 1,
49
+ "startColumn": 0
50
+ },
51
+ "rowHeader": { "width": 46, "hidden": 0 },
52
+ "columnHeader": { "height": 20, "hidden": 0 },
53
+ "mergeData": [
54
+ {
55
+ "startRow": 0,
56
+ "startColumn": 0,
57
+ "endRow": 0,
58
+ "endColumn": 3
59
+ }
60
+ ],
61
+ "rowData": {
62
+ "0": { "h": 30 }
63
+ },
64
+ "columnData": {
65
+ "0": { "w": 120 },
66
+ "1": { "w": 96 },
67
+ "2": { "w": 96 },
68
+ "3": { "w": 112 }
69
+ },
70
+ "cellData": {
71
+ "0": {
72
+ "0": {
73
+ "v": "销售明细(合并表头 A1:D1)",
74
+ "t": 1,
75
+ "s": "header"
76
+ }
77
+ },
78
+ "1": {
79
+ "0": { "v": "品名", "t": 1, "s": "header" },
80
+ "1": { "v": "数量", "t": 1, "s": "header" },
81
+ "2": { "v": "单价", "t": 1, "s": "header" },
82
+ "3": { "v": "小计", "t": 1, "s": "header" }
83
+ },
84
+ "2": {
85
+ "0": { "v": "示例 A", "t": 1 },
86
+ "1": { "v": 2, "t": 2 },
87
+ "2": { "v": 10.5, "t": 2, "s": "number" },
88
+ "3": { "f": "=B3*C3", "v": 21, "t": 2, "s": "number" }
89
+ },
90
+ "3": {
91
+ "0": { "v": "示例 B", "t": 1 },
92
+ "1": { "v": 3, "t": 2 },
93
+ "2": { "v": 15, "t": 2, "s": "number" },
94
+ "3": { "f": "=B4*C4", "v": 45, "t": 2, "s": "number" }
95
+ },
96
+ "4": {
97
+ "0": { "v": "合计", "t": 1, "s": "warn" },
98
+ "1": { "f": "=SUM(B3:B4)", "v": 5, "t": 2 },
99
+ "3": { "f": "=SUM(D3:D4)", "v": 66, "t": 2, "s": "number" }
100
+ },
101
+ "6": {
102
+ "0": { "v": "是否完成", "t": 1 },
103
+ "1": { "v": true, "t": 3 }
104
+ },
105
+ "7": {
106
+ "0": { "v": "备注", "t": 1 },
107
+ "1": { "v": "公式格同时保留 v(计算结果)与 f", "t": 1 }
108
+ }
109
+ }
110
+ },
111
+ "sheet-2": {
112
+ "id": "sheet-2",
113
+ "name": "汇总",
114
+ "tabColor": "",
115
+ "hidden": 0,
116
+ "rowCount": 50,
117
+ "columnCount": 10,
118
+ "defaultColumnWidth": 88,
119
+ "defaultRowHeight": 24,
120
+ "showGridlines": 1,
121
+ "rightToLeft": 0,
122
+ "freeze": {
123
+ "xSplit": 0,
124
+ "ySplit": 0,
125
+ "startRow": -1,
126
+ "startColumn": -1
127
+ },
128
+ "mergeData": [],
129
+ "rowData": {},
130
+ "columnData": {
131
+ "0": { "w": 140 }
132
+ },
133
+ "rowHeader": { "width": 46 },
134
+ "columnHeader": { "height": 20 },
135
+ "cellData": {
136
+ "0": {
137
+ "0": { "v": "汇总说明", "t": 1, "s": "header" },
138
+ "1": { "v": "可多 sheet;sheetOrder 决定页签顺序", "t": 1 }
139
+ },
140
+ "1": {
141
+ "0": { "v": "空行 / 空列无需写入 cellData(稀疏存储)", "t": 1 }
142
+ }
143
+ }
144
+ }
145
+ },
146
+ "resources": []
147
+ }