@agentorg/cli 0.0.7 → 0.0.8

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.
@@ -16,7 +16,7 @@ export declare const LIMIT_MAX = 8;
16
16
  export declare const DEPTH_MAX = 3;
17
17
  /** Above this many agents in the home, none is made by an agent. They share one plan. */
18
18
  export declare const HOME_CAP = 24;
19
- export declare const skillFile: (path: string) => "---\nname: delegating\ndescription: How to hand work to agents of your own and see it through, and what else your control tools reach. Use it before creating an agent, and whenever you have work that can run apart from yours.\n---\nYour `control` connection's tools reach what the person allowed you: agents, and perhaps connections, skills and templates. A tool you don't have is one you weren't given.\n\n## Before you create an agent\n\nDo the work yourself when it is short. An agent costs model usage from the plan everyone here shares, and you have a limit on how many you can have. Use one when work can run apart from yours, or needs a shape you were not given.\n\nThere is one create tool per template you may use. Read its description and fields. Give the agent a plain name and a purpose: one sentence on what it is for, which it will be told. Fields you leave out keep the template's value.\n\n## Working with it\n\n- `agent_send` gives it a message and returns at once. It works on its own after that. Your name is on the message's first line.\n- A message with no chat named starts a new chat with it, and tells you which. Name that chat to go on in it. Start another only for work that is apart from the first.\n- `agent_chats` lists its chats and says whether it is working. A chat with a `problem` has a message that got no answer: send it another once the problem is dealt with. `agent_read` shows what was said in one. Check back when you need the result, rather than after every step.\n- Say what you want back and in what form. It knows only what you send it and its purpose.\n\n## When it is done\n\n`agent_remove` it when its work is finished, so your limit is free for the next one. `agent_stop` it to keep it for later. You can remove only agents you made, and theirs. The person sees every agent you create on their Agents page, and every change you make through these tools, and can undo any of it.\n" | undefined;
19
+ export declare const skillFile: (path: string) => "---\nname: delegating\ndescription: How to hand work to agents of your own and see it through, and what else your control tools reach. Use it before creating an agent, and whenever you have work that can run apart from yours.\n---\nYour `control` connection's tools reach what the person allowed you: agents, and perhaps connections, skills and templates. A tool you don't have is one you weren't given.\n\n## Before you create an agent\n\nDo the work yourself when it is short. An agent costs model usage from the plan everyone here shares, and you have a limit on how many you can have. Use one when work can run apart from yours, or needs a shape you were not given.\n\nThere is one create tool per template you may use. Read its description and fields. Give the agent a plain name and a purpose: one sentence on what it is for, which it will be told. Fields you leave out keep the template's value.\n\n## Working with it\n\n- `agent_send` gives it a message and returns at once. It works on its own after that. Your name is on the message's first line.\n- A message with no chat named starts a new chat with it, and tells you which. Name that chat to go on in it. Start another only for work that is apart from the first.\n- `agent_chats` lists its chats and says whether it is working. A chat with a `problem` has a message that got no answer: send it another once the problem is dealt with. `agent_read` shows what was said in one. Check back when you need the result, rather than after every step.\n- Say what you want back and in what form. It knows only what you send it and its purpose.\n\n## When it is done\n\n`agent_remove` it when its work is finished, so your limit is free for the next one. `agent_stop` it to keep it for later. You can remove only agents you made, and theirs. The person sees every agent you create: it is listed with the person's own agents, and has a page of its own. The person also sees every change you make through these tools, and can undo any of it.\n" | undefined;
20
20
  type Values = z.infer<typeof FieldValues>;
21
21
  type TheUnit = z.infer<typeof Unit>;
22
22
  type TheAgent = z.infer<typeof AgentRecord>;
@@ -58,7 +58,7 @@ There is one create tool per template you may use. Read its description and fiel
58
58
 
59
59
  ## When it is done
60
60
 
61
- \`agent_remove\` it when its work is finished, so your limit is free for the next one. \`agent_stop\` it to keep it for later. You can remove only agents you made, and theirs. The person sees every agent you create on their Agents page, and every change you make through these tools, and can undo any of it.
61
+ \`agent_remove\` it when its work is finished, so your limit is free for the next one. \`agent_stop\` it to keep it for later. You can remove only agents you made, and theirs. The person sees every agent you create: it is listed with the person's own agents, and has a page of its own. The person also sees every change you make through these tools, and can undo any of it.
62
62
  `;
63
63
  export const skillFile = (path) => (path === SKILL_FILE ? SKILL_TEXT : undefined);
64
64
  /** The agents unit's form, with what can be chosen today. */
@@ -261,9 +261,6 @@
261
261
  .my-1 {
262
262
  margin-block: var(--spacing);
263
263
  }
264
- .my-2 {
265
- margin-block: calc(var(--spacing) * 2);
266
- }
267
264
  .my-4 {
268
265
  margin-block: calc(var(--spacing) * 4);
269
266
  }
@@ -285,6 +282,9 @@
285
282
  .mt-2 {
286
283
  margin-top: calc(var(--spacing) * 2);
287
284
  }
285
+ .mt-3 {
286
+ margin-top: calc(var(--spacing) * 3);
287
+ }
288
288
  .mt-6 {
289
289
  margin-top: calc(var(--spacing) * 6);
290
290
  }
@@ -321,24 +321,12 @@
321
321
  .ml-4 {
322
322
  margin-left: calc(var(--spacing) * 4);
323
323
  }
324
- .ml-6 {
325
- margin-left: calc(var(--spacing) * 6);
324
+ .ml-5 {
325
+ margin-left: calc(var(--spacing) * 5);
326
326
  }
327
327
  .ml-auto {
328
328
  margin-left: auto;
329
329
  }
330
- .line-clamp-1 {
331
- overflow: hidden;
332
- display: -webkit-box;
333
- -webkit-box-orient: vertical;
334
- -webkit-line-clamp: 1;
335
- }
336
- .line-clamp-2 {
337
- overflow: hidden;
338
- display: -webkit-box;
339
- -webkit-box-orient: vertical;
340
- -webkit-line-clamp: 2;
341
- }
342
330
  .block {
343
331
  display: block;
344
332
  }
@@ -415,10 +403,6 @@
415
403
  width: calc(var(--spacing) * 9);
416
404
  height: calc(var(--spacing) * 9);
417
405
  }
418
- .size-10 {
419
- width: calc(var(--spacing) * 10);
420
- height: calc(var(--spacing) * 10);
421
- }
422
406
  .size-\[18px\] {
423
407
  width: 18px;
424
408
  height: 18px;
@@ -472,6 +456,9 @@
472
456
  .h-\[68px\] {
473
457
  height: 68px;
474
458
  }
459
+ .h-\[104px\] {
460
+ height: 104px;
461
+ }
475
462
  .h-\[320px\] {
476
463
  height: 320px;
477
464
  }
@@ -571,21 +558,18 @@
571
558
  .w-10 {
572
559
  width: calc(var(--spacing) * 10);
573
560
  }
574
- .w-12 {
575
- width: calc(var(--spacing) * 12);
576
- }
577
561
  .w-40 {
578
562
  width: calc(var(--spacing) * 40);
579
563
  }
580
564
  .w-48 {
581
565
  width: calc(var(--spacing) * 48);
582
566
  }
583
- .w-56 {
584
- width: calc(var(--spacing) * 56);
585
- }
586
567
  .w-72 {
587
568
  width: calc(var(--spacing) * 72);
588
569
  }
570
+ .w-\[84px\] {
571
+ width: 84px;
572
+ }
589
573
  .w-\[236px\] {
590
574
  width: 236px;
591
575
  }
@@ -616,6 +600,9 @@
616
600
  .max-w-\[80\%\] {
617
601
  max-width: 80%;
618
602
  }
603
+ .max-w-\[720px\] {
604
+ max-width: 720px;
605
+ }
619
606
  .max-w-\[calc\(100\%-2rem\)\] {
620
607
  max-width: calc(100% - 2rem);
621
608
  }
@@ -825,9 +812,6 @@
825
812
  .flex-row {
826
813
  flex-direction: row;
827
814
  }
828
- .flex-nowrap {
829
- flex-wrap: nowrap;
830
- }
831
815
  .flex-wrap {
832
816
  flex-wrap: wrap;
833
817
  }
@@ -897,6 +881,9 @@
897
881
  .gap-7 {
898
882
  gap: calc(var(--spacing) * 7);
899
883
  }
884
+ .gap-10 {
885
+ gap: calc(var(--spacing) * 10);
886
+ }
900
887
  :where(.space-y-4 > :not(:last-child)) {
901
888
  --tw-space-y-reverse: 0;
902
889
  margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
@@ -1000,9 +987,6 @@
1000
987
  .rounded-none {
1001
988
  border-radius: 0;
1002
989
  }
1003
- .rounded-sm {
1004
- border-radius: 6px;
1005
- }
1006
990
  .rounded-xl {
1007
991
  border-radius: 14px;
1008
992
  }
@@ -1279,6 +1263,9 @@
1279
1263
  .pt-3\.5 {
1280
1264
  padding-top: calc(var(--spacing) * 3.5);
1281
1265
  }
1266
+ .pt-6 {
1267
+ padding-top: calc(var(--spacing) * 6);
1268
+ }
1282
1269
  .pr-1 {
1283
1270
  padding-right: var(--spacing);
1284
1271
  }
@@ -1309,6 +1296,9 @@
1309
1296
  .pb-4 {
1310
1297
  padding-bottom: calc(var(--spacing) * 4);
1311
1298
  }
1299
+ .pb-28 {
1300
+ padding-bottom: calc(var(--spacing) * 28);
1301
+ }
1312
1302
  .pl-1 {
1313
1303
  padding-left: var(--spacing);
1314
1304
  }
@@ -1336,9 +1326,6 @@
1336
1326
  .text-left {
1337
1327
  text-align: left;
1338
1328
  }
1339
- .text-right {
1340
- text-align: right;
1341
- }
1342
1329
  .font-mono {
1343
1330
  font-family: var(--font-mono);
1344
1331
  }
@@ -1394,6 +1381,10 @@
1394
1381
  .text-\[22px\] {
1395
1382
  font-size: 22px;
1396
1383
  }
1384
+ .leading-5 {
1385
+ --tw-leading: calc(var(--spacing) * 5);
1386
+ line-height: calc(var(--spacing) * 5);
1387
+ }
1397
1388
  .leading-7 {
1398
1389
  --tw-leading: calc(var(--spacing) * 7);
1399
1390
  line-height: calc(var(--spacing) * 7);
@@ -1402,10 +1393,18 @@
1402
1393
  --tw-leading: 1.5;
1403
1394
  line-height: 1.5;
1404
1395
  }
1396
+ .leading-\[1\.6\] {
1397
+ --tw-leading: 1.6;
1398
+ line-height: 1.6;
1399
+ }
1405
1400
  .leading-\[1\.45\] {
1406
1401
  --tw-leading: 1.45;
1407
1402
  line-height: 1.45;
1408
1403
  }
1404
+ .leading-\[18px\] {
1405
+ --tw-leading: 18px;
1406
+ line-height: 18px;
1407
+ }
1409
1408
  .leading-none {
1410
1409
  --tw-leading: 1;
1411
1410
  line-height: 1;
@@ -1749,13 +1748,6 @@
1749
1748
  :is(:where(.group\/field):has(:disabled) .group-has-disabled\/field\:opacity-50) {
1750
1749
  opacity: 50%;
1751
1750
  }
1752
- :is(:where(.group\/item):has([data-slot="item-description"]) .group-has-data-\[slot\=item-description\]\/item\:translate-y-0\.5) {
1753
- --tw-translate-y: calc(var(--spacing) * 0.5);
1754
- translate: var(--tw-translate-x) var(--tw-translate-y);
1755
- }
1756
- :is(:where(.group\/item):has([data-slot="item-description"]) .group-has-data-\[slot\=item-description\]\/item\:self-start) {
1757
- align-self: flex-start;
1758
- }
1759
1751
  :is(:where(.group\/message):has([data-slot="message-footer"]) .group-has-data-\[slot\=message-footer\]\/message\:-translate-y-8) {
1760
1752
  --tw-translate-y: calc(var(--spacing) * -8);
1761
1753
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -1800,21 +1792,6 @@
1800
1792
  :is(:where(.group\/input-group)[data-disabled="true"] .group-data-\[disabled\=true\]\/input-group\:opacity-50) {
1801
1793
  opacity: 50%;
1802
1794
  }
1803
- :is(:where(.group\/item)[data-size="sm"] .group-data-\[size\=sm\]\/item\:size-8) {
1804
- width: calc(var(--spacing) * 8);
1805
- height: calc(var(--spacing) * 8);
1806
- }
1807
- :is(:where(.group\/item)[data-size="xs"] .group-data-\[size\=xs\]\/item\:size-6) {
1808
- width: calc(var(--spacing) * 6);
1809
- height: calc(var(--spacing) * 6);
1810
- }
1811
- :is(:where(.group\/item)[data-size="xs"] .group-data-\[size\=xs\]\/item\:gap-0) {
1812
- gap: 0px;
1813
- }
1814
- :is(:where(.group\/item)[data-size="xs"] .group-data-\[size\=xs\]\/item\:text-xs) {
1815
- font-size: var(--text-xs);
1816
- line-height: var(--tw-leading, var(--text-xs--line-height));
1817
- }
1818
1795
  :is(:where(.group\/mcp)[data-state="open"] .group-data-\[state\=open\]\/mcp\:rotate-90) {
1819
1796
  rotate: 90deg;
1820
1797
  }
@@ -2148,6 +2125,11 @@
2148
2125
  --tw-translate-y: 1px;
2149
2126
  translate: var(--tw-translate-x) var(--tw-translate-y);
2150
2127
  }
2128
+ @media (hover: hover) {
2129
+ .enabled\:hover\:bg-\[var\(--hover\)\]:enabled:hover {
2130
+ background-color: var(--hover);
2131
+ }
2132
+ }
2151
2133
  .disabled\:pointer-events-none:disabled {
2152
2134
  pointer-events: none;
2153
2135
  }
@@ -2163,6 +2145,9 @@
2163
2145
  .disabled\:bg-transparent:disabled {
2164
2146
  background-color: transparent;
2165
2147
  }
2148
+ .disabled\:text-muted-foreground:disabled {
2149
+ color: var(--muted);
2150
+ }
2166
2151
  .disabled\:opacity-50:disabled {
2167
2152
  opacity: 50%;
2168
2153
  }
@@ -2176,9 +2161,6 @@
2176
2161
  --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
2177
2162
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
2178
2163
  }
2179
- :where([data-slot="dropdown-menu-content"]) .in-data-\[slot\=dropdown-menu-content\]\:p-0 {
2180
- padding: 0px;
2181
- }
2182
2164
  .has-disabled\:bg-input\/50:has(:disabled) {
2183
2165
  background-color: var(--line-strong);
2184
2166
  @supports (color: color-mix(in lab, red, red)) {
@@ -2206,12 +2188,6 @@
2206
2188
  .has-data-\[icon\=inline-start\]\:pl-2:has([data-icon="inline-start"]) {
2207
2189
  padding-left: calc(var(--spacing) * 2);
2208
2190
  }
2209
- .has-data-\[size\=sm\]\:gap-2\.5:has([data-size="sm"]) {
2210
- gap: calc(var(--spacing) * 2.5);
2211
- }
2212
- .has-data-\[size\=xs\]\:gap-2:has([data-size="xs"]) {
2213
- gap: calc(var(--spacing) * 2);
2214
- }
2215
2191
  .has-data-\[slot\=kbd\]\:pr-1\.5:has([data-slot="kbd"]) {
2216
2192
  padding-right: calc(var(--spacing) * 1.5);
2217
2193
  }
@@ -2942,9 +2918,6 @@
2942
2918
  }
2943
2919
  }
2944
2920
  @container main (width < 44rem) {
2945
- .tight\:order-last {
2946
- order: 9999;
2947
- }
2948
2921
  .tight\:col-span-2 {
2949
2922
  grid-column: span 2 / span 2;
2950
2923
  }
@@ -2987,15 +2960,9 @@
2987
2960
  .tight\:w-fit {
2988
2961
  width: fit-content;
2989
2962
  }
2990
- .tight\:min-w-0 {
2991
- min-width: 0px;
2992
- }
2993
2963
  .tight\:flex-1 {
2994
2964
  flex: 1;
2995
2965
  }
2996
- .tight\:basis-full {
2997
- flex-basis: 100%;
2998
- }
2999
2966
  .tight\:grid-flow-row {
3000
2967
  grid-auto-flow: row;
3001
2968
  }
@@ -3023,9 +2990,6 @@
3023
2990
  .tight\:flex-row\! {
3024
2991
  flex-direction: row !important;
3025
2992
  }
3026
- .tight\:flex-wrap {
3027
- flex-wrap: wrap;
3028
- }
3029
2993
  .tight\:items-center {
3030
2994
  align-items: center;
3031
2995
  }
@@ -3038,9 +3002,6 @@
3038
3002
  .tight\:gap-3 {
3039
3003
  gap: calc(var(--spacing) * 3);
3040
3004
  }
3041
- .tight\:gap-y-1 {
3042
- row-gap: var(--spacing);
3043
- }
3044
3005
  :where(.tight\:divide-x-0 > :not(:last-child)) {
3045
3006
  --tw-divide-x-reverse: 0;
3046
3007
  border-inline-style: var(--tw-border-style);
@@ -3066,9 +3027,6 @@
3066
3027
  .tight\:pb-0 {
3067
3028
  padding-bottom: 0px;
3068
3029
  }
3069
- .tight\:pl-6 {
3070
- padding-left: calc(var(--spacing) * 6);
3071
- }
3072
3030
  }
3073
3031
  .data-open\:animate-in:where([data-state="open"]), .data-open\:animate-in:where([data-open]:not([data-open="false"])) {
3074
3032
  animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
@@ -3182,13 +3140,6 @@
3182
3140
  .data-vertical\:self-stretch:where([data-orientation="vertical"]) {
3183
3141
  align-self: stretch;
3184
3142
  }
3185
- .\[\&_img\]\:size-full img {
3186
- width: 100%;
3187
- height: 100%;
3188
- }
3189
- .\[\&_img\]\:object-cover img {
3190
- object-fit: cover;
3191
- }
3192
3143
  .\[\&_svg\]\:pointer-events-none svg {
3193
3144
  pointer-events: none;
3194
3145
  }
@@ -3225,9 +3176,6 @@
3225
3176
  .\[\&_thead\]\:z-10 thead {
3226
3177
  z-index: 10;
3227
3178
  }
3228
- .\[\&\+\[data-slot\=item-content\]\]\:flex-none + [data-slot=item-content] {
3229
- flex: none;
3230
- }
3231
3179
  .\[\.border-b\]\:pb-2:is(.border-b) {
3232
3180
  padding-bottom: calc(var(--spacing) * 2);
3233
3181
  }
@@ -3240,11 +3188,6 @@
3240
3188
  .\[a\]\:underline-offset-3:is(a) {
3241
3189
  text-underline-offset: 3px;
3242
3190
  }
3243
- .\[a\]\:transition-colors:is(a) {
3244
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
3245
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
3246
- transition-duration: var(--tw-duration, var(--default-transition-duration));
3247
- }
3248
3191
  :is(.\*\:\[a\]\:underline > *):is(a) {
3249
3192
  text-decoration-line: underline;
3250
3193
  }
@@ -3252,9 +3195,6 @@
3252
3195
  text-underline-offset: 3px;
3253
3196
  }
3254
3197
  @media (hover: hover) {
3255
- .\[a\]\:hover\:bg-muted:is(a):hover {
3256
- background-color: var(--raised);
3257
- }
3258
3198
  .\[a\]\:hover\:text-foreground:is(a):hover {
3259
3199
  color: var(--fg);
3260
3200
  }
@@ -3426,8 +3366,8 @@
3426
3366
  opacity: 100%;
3427
3367
  }
3428
3368
  }
3429
- [data-call] + .\[\[data-call\]\+\&\]\:-mt-2 {
3430
- margin-top: calc(var(--spacing) * -2);
3369
+ [data-call] + .\[\[data-call\]\+\&\]\:-mt-1\.5 {
3370
+ margin-top: calc(var(--spacing) * -1.5);
3431
3371
  }
3432
3372
  [data-variant=legend] + .\[\[data-variant\=legend\]\+\&\]\:-mt-1\.5 {
3433
3373
  margin-top: calc(var(--spacing) * -1.5);
@@ -4063,12 +4003,12 @@
4063
4003
  }
4064
4004
  }
4065
4005
  :root {
4066
- --line-strong: rgb(255 255 255 / 0.14);
4006
+ --line-strong: #ffffff24;
4067
4007
  --edge: rgb(255 255 255 / 0.1);
4068
4008
  --unread: rgb(10 132 255);
4069
4009
  }
4070
4010
  :root[data-theme="light"] {
4071
- --line-strong: rgb(0 0 0 / 0.14);
4011
+ --line-strong: #00000024;
4072
4012
  --edge: rgb(0 0 0 / 0.1);
4073
4013
  --unread: rgb(0 122 255);
4074
4014
  }
@@ -4155,10 +4095,6 @@
4155
4095
  }
4156
4096
  }
4157
4097
  @layer components {
4158
- .prose-chat {
4159
- font-size: 14px;
4160
- line-height: 1.6;
4161
- }
4162
4098
  .prose-chat :where(p, ul, ol) {
4163
4099
  margin: 0 0 0.75em;
4164
4100
  }