@osovv/vv-opencode 2.2.1 → 2.3.0-rc.1

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +46 -2
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +6 -3
  5. package/dist/index.js.map +1 -1
  6. package/dist/lib/plugin-toggle-config.d.ts +1 -1
  7. package/dist/lib/plugin-toggle-config.js +3 -1
  8. package/dist/lib/plugin-toggle-config.js.map +1 -1
  9. package/dist/lib/vvoc-config.d.ts +89 -0
  10. package/dist/lib/vvoc-config.js +121 -1
  11. package/dist/lib/vvoc-config.js.map +1 -1
  12. package/dist/plugins/telegram/bot-api.d.ts +162 -0
  13. package/dist/plugins/telegram/bot-api.js +273 -0
  14. package/dist/plugins/telegram/bot-api.js.map +1 -0
  15. package/dist/plugins/telegram/commands.d.ts +167 -0
  16. package/dist/plugins/telegram/commands.js +709 -0
  17. package/dist/plugins/telegram/commands.js.map +1 -0
  18. package/dist/plugins/telegram/config.d.ts +38 -0
  19. package/dist/plugins/telegram/config.js +86 -0
  20. package/dist/plugins/telegram/config.js.map +1 -0
  21. package/dist/plugins/telegram/delivery.d.ts +121 -0
  22. package/dist/plugins/telegram/delivery.js +395 -0
  23. package/dist/plugins/telegram/delivery.js.map +1 -0
  24. package/dist/plugins/telegram/gateway.d.ts +61 -0
  25. package/dist/plugins/telegram/gateway.js +230 -0
  26. package/dist/plugins/telegram/gateway.js.map +1 -0
  27. package/dist/plugins/telegram/index.d.ts +110 -0
  28. package/dist/plugins/telegram/index.js +454 -0
  29. package/dist/plugins/telegram/index.js.map +1 -0
  30. package/dist/plugins/telegram/sessions.d.ts +147 -0
  31. package/dist/plugins/telegram/sessions.js +322 -0
  32. package/dist/plugins/telegram/sessions.js.map +1 -0
  33. package/dist/plugins/telegram/topology.d.ts +116 -0
  34. package/dist/plugins/telegram/topology.js +339 -0
  35. package/dist/plugins/telegram/topology.js.map +1 -0
  36. package/dist/plugins/web-tools/schemas.d.ts +19 -19
  37. package/dist/plugins/workflow/results.d.ts +39 -39
  38. package/package.json +6 -1
  39. package/schemas/vvoc/v3.json +89 -9
  40. package/templates/skills/vv-execute/references/tool-contracts.md +1 -1
@@ -174,13 +174,13 @@ declare const workItemViewSchema: z.ZodObject<{
174
174
  }>>;
175
175
  state: z.ZodEnum<{
176
176
  open: "open";
177
+ closed: "closed";
177
178
  awaiting_implementer: "awaiting_implementer";
178
179
  awaiting_reviews: "awaiting_reviews";
179
180
  awaiting_acceptance: "awaiting_acceptance";
180
181
  needs_context: "needs_context";
181
182
  blocked: "blocked";
182
183
  ready_to_close: "ready_to_close";
183
- closed: "closed";
184
184
  }>;
185
185
  specReviewCount: z.ZodNumber;
186
186
  codeReviewCount: z.ZodNumber;
@@ -294,6 +294,7 @@ declare const workItemViewSchema: z.ZodObject<{
294
294
  autonomousGrantConsumed: z.ZodBoolean;
295
295
  reportRejectionCount: z.ZodNumber;
296
296
  nextAction: z.ZodEnum<{
297
+ close: "close";
297
298
  closed: "closed";
298
299
  launch_implementer: "launch_implementer";
299
300
  await_result: "await_result";
@@ -301,7 +302,6 @@ declare const workItemViewSchema: z.ZodObject<{
301
302
  recover: "recover";
302
303
  recover_with_user_authorization: "recover_with_user_authorization";
303
304
  launch_blocked: "launch_blocked";
304
- close: "close";
305
305
  }>;
306
306
  latestAttempt: z.ZodOptional<z.ZodObject<{
307
307
  attempt: z.ZodNumber;
@@ -322,6 +322,7 @@ declare const workItemViewSchema: z.ZodObject<{
322
322
  }, z.core.$strict>>;
323
323
  guidance: z.ZodOptional<z.ZodObject<{
324
324
  nextAction: z.ZodEnum<{
325
+ close: "close";
325
326
  closed: "closed";
326
327
  launch_implementer: "launch_implementer";
327
328
  await_result: "await_result";
@@ -329,7 +330,6 @@ declare const workItemViewSchema: z.ZodObject<{
329
330
  recover: "recover";
330
331
  recover_with_user_authorization: "recover_with_user_authorization";
331
332
  launch_blocked: "launch_blocked";
332
- close: "close";
333
333
  }>;
334
334
  launchEligible: z.ZodBoolean;
335
335
  blockers: z.ZodArray<z.ZodString>;
@@ -406,9 +406,9 @@ declare const executionViewSchema: z.ZodObject<{
406
406
  generationBudget: z.ZodOptional<z.ZodNumber>;
407
407
  remainingGenerations: z.ZodOptional<z.ZodNumber>;
408
408
  lastOutcome: z.ZodOptional<z.ZodEnum<{
409
+ stale: "stale";
409
410
  failed: "failed";
410
411
  passed: "passed";
411
- stale: "stale";
412
412
  stopped: "stopped";
413
413
  incomplete: "incomplete";
414
414
  }>>;
@@ -431,9 +431,9 @@ declare const executionViewSchema: z.ZodObject<{
431
431
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
432
432
  generation: z.ZodNumber;
433
433
  outcome: z.ZodEnum<{
434
+ stale: "stale";
434
435
  failed: "failed";
435
436
  passed: "passed";
436
- stale: "stale";
437
437
  stopped: "stopped";
438
438
  }>;
439
439
  completedAt: z.ZodString;
@@ -496,9 +496,9 @@ declare const delegatedRunViewSchema: z.ZodObject<{
496
496
  }>;
497
497
  attempts: z.ZodNumber;
498
498
  lastOutcome: z.ZodOptional<z.ZodEnum<{
499
+ stale: "stale";
499
500
  failed: "failed";
500
501
  passed: "passed";
501
- stale: "stale";
502
502
  stopped: "stopped";
503
503
  incomplete: "incomplete";
504
504
  }>>;
@@ -524,9 +524,9 @@ declare const delegatedRunViewSchema: z.ZodObject<{
524
524
  history: z.ZodArray<z.ZodObject<{
525
525
  generation: z.ZodNumber;
526
526
  outcome: z.ZodEnum<{
527
+ stale: "stale";
527
528
  failed: "failed";
528
529
  passed: "passed";
529
- stale: "stale";
530
530
  stopped: "stopped";
531
531
  }>;
532
532
  fingerprint: z.ZodString;
@@ -560,13 +560,13 @@ declare const workItemListViewSchema: z.ZodObject<{
560
560
  }>>;
561
561
  state: z.ZodEnum<{
562
562
  open: "open";
563
+ closed: "closed";
563
564
  awaiting_implementer: "awaiting_implementer";
564
565
  awaiting_reviews: "awaiting_reviews";
565
566
  awaiting_acceptance: "awaiting_acceptance";
566
567
  needs_context: "needs_context";
567
568
  blocked: "blocked";
568
569
  ready_to_close: "ready_to_close";
569
- closed: "closed";
570
570
  }>;
571
571
  specReviewCount: z.ZodNumber;
572
572
  codeReviewCount: z.ZodNumber;
@@ -680,6 +680,7 @@ declare const workItemListViewSchema: z.ZodObject<{
680
680
  autonomousGrantConsumed: z.ZodBoolean;
681
681
  reportRejectionCount: z.ZodNumber;
682
682
  nextAction: z.ZodEnum<{
683
+ close: "close";
683
684
  closed: "closed";
684
685
  launch_implementer: "launch_implementer";
685
686
  await_result: "await_result";
@@ -687,7 +688,6 @@ declare const workItemListViewSchema: z.ZodObject<{
687
688
  recover: "recover";
688
689
  recover_with_user_authorization: "recover_with_user_authorization";
689
690
  launch_blocked: "launch_blocked";
690
- close: "close";
691
691
  }>;
692
692
  latestAttempt: z.ZodOptional<z.ZodObject<{
693
693
  attempt: z.ZodNumber;
@@ -708,6 +708,7 @@ declare const workItemListViewSchema: z.ZodObject<{
708
708
  }, z.core.$strict>>;
709
709
  guidance: z.ZodOptional<z.ZodObject<{
710
710
  nextAction: z.ZodEnum<{
711
+ close: "close";
711
712
  closed: "closed";
712
713
  launch_implementer: "launch_implementer";
713
714
  await_result: "await_result";
@@ -715,7 +716,6 @@ declare const workItemListViewSchema: z.ZodObject<{
715
716
  recover: "recover";
716
717
  recover_with_user_authorization: "recover_with_user_authorization";
717
718
  launch_blocked: "launch_blocked";
718
- close: "close";
719
719
  }>;
720
720
  launchEligible: z.ZodBoolean;
721
721
  blockers: z.ZodArray<z.ZodString>;
@@ -762,9 +762,9 @@ declare const workItemListViewSchema: z.ZodObject<{
762
762
  }>;
763
763
  attempts: z.ZodNumber;
764
764
  lastOutcome: z.ZodOptional<z.ZodEnum<{
765
+ stale: "stale";
765
766
  failed: "failed";
766
767
  passed: "passed";
767
- stale: "stale";
768
768
  stopped: "stopped";
769
769
  incomplete: "incomplete";
770
770
  }>>;
@@ -790,9 +790,9 @@ declare const workItemListViewSchema: z.ZodObject<{
790
790
  history: z.ZodArray<z.ZodObject<{
791
791
  generation: z.ZodNumber;
792
792
  outcome: z.ZodEnum<{
793
+ stale: "stale";
793
794
  failed: "failed";
794
795
  passed: "passed";
795
- stale: "stale";
796
796
  stopped: "stopped";
797
797
  }>;
798
798
  fingerprint: z.ZodString;
@@ -868,9 +868,9 @@ declare const workItemListViewSchema: z.ZodObject<{
868
868
  generationBudget: z.ZodOptional<z.ZodNumber>;
869
869
  remainingGenerations: z.ZodOptional<z.ZodNumber>;
870
870
  lastOutcome: z.ZodOptional<z.ZodEnum<{
871
+ stale: "stale";
871
872
  failed: "failed";
872
873
  passed: "passed";
873
- stale: "stale";
874
874
  stopped: "stopped";
875
875
  incomplete: "incomplete";
876
876
  }>>;
@@ -893,9 +893,9 @@ declare const workItemListViewSchema: z.ZodObject<{
893
893
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
894
894
  generation: z.ZodNumber;
895
895
  outcome: z.ZodEnum<{
896
+ stale: "stale";
896
897
  failed: "failed";
897
898
  passed: "passed";
898
- stale: "stale";
899
899
  stopped: "stopped";
900
900
  }>;
901
901
  completedAt: z.ZodString;
@@ -950,13 +950,13 @@ export declare const workflowToolResultSchemas: {
950
950
  }>>;
951
951
  state: z.ZodEnum<{
952
952
  open: "open";
953
+ closed: "closed";
953
954
  awaiting_implementer: "awaiting_implementer";
954
955
  awaiting_reviews: "awaiting_reviews";
955
956
  awaiting_acceptance: "awaiting_acceptance";
956
957
  needs_context: "needs_context";
957
958
  blocked: "blocked";
958
959
  ready_to_close: "ready_to_close";
959
- closed: "closed";
960
960
  }>;
961
961
  specReviewCount: z.ZodNumber;
962
962
  codeReviewCount: z.ZodNumber;
@@ -1070,6 +1070,7 @@ export declare const workflowToolResultSchemas: {
1070
1070
  autonomousGrantConsumed: z.ZodBoolean;
1071
1071
  reportRejectionCount: z.ZodNumber;
1072
1072
  nextAction: z.ZodEnum<{
1073
+ close: "close";
1073
1074
  closed: "closed";
1074
1075
  launch_implementer: "launch_implementer";
1075
1076
  await_result: "await_result";
@@ -1077,7 +1078,6 @@ export declare const workflowToolResultSchemas: {
1077
1078
  recover: "recover";
1078
1079
  recover_with_user_authorization: "recover_with_user_authorization";
1079
1080
  launch_blocked: "launch_blocked";
1080
- close: "close";
1081
1081
  }>;
1082
1082
  latestAttempt: z.ZodOptional<z.ZodObject<{
1083
1083
  attempt: z.ZodNumber;
@@ -1098,6 +1098,7 @@ export declare const workflowToolResultSchemas: {
1098
1098
  }, z.core.$strict>>;
1099
1099
  guidance: z.ZodOptional<z.ZodObject<{
1100
1100
  nextAction: z.ZodEnum<{
1101
+ close: "close";
1101
1102
  closed: "closed";
1102
1103
  launch_implementer: "launch_implementer";
1103
1104
  await_result: "await_result";
@@ -1105,7 +1106,6 @@ export declare const workflowToolResultSchemas: {
1105
1106
  recover: "recover";
1106
1107
  recover_with_user_authorization: "recover_with_user_authorization";
1107
1108
  launch_blocked: "launch_blocked";
1108
- close: "close";
1109
1109
  }>;
1110
1110
  launchEligible: z.ZodBoolean;
1111
1111
  blockers: z.ZodArray<z.ZodString>;
@@ -1205,9 +1205,9 @@ export declare const workflowToolResultSchemas: {
1205
1205
  generationBudget: z.ZodOptional<z.ZodNumber>;
1206
1206
  remainingGenerations: z.ZodOptional<z.ZodNumber>;
1207
1207
  lastOutcome: z.ZodOptional<z.ZodEnum<{
1208
+ stale: "stale";
1208
1209
  failed: "failed";
1209
1210
  passed: "passed";
1210
- stale: "stale";
1211
1211
  stopped: "stopped";
1212
1212
  incomplete: "incomplete";
1213
1213
  }>>;
@@ -1230,9 +1230,9 @@ export declare const workflowToolResultSchemas: {
1230
1230
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
1231
1231
  generation: z.ZodNumber;
1232
1232
  outcome: z.ZodEnum<{
1233
+ stale: "stale";
1233
1234
  failed: "failed";
1234
1235
  passed: "passed";
1235
- stale: "stale";
1236
1236
  stopped: "stopped";
1237
1237
  }>;
1238
1238
  completedAt: z.ZodString;
@@ -1332,9 +1332,9 @@ export declare const workflowToolResultSchemas: {
1332
1332
  generationBudget: z.ZodOptional<z.ZodNumber>;
1333
1333
  remainingGenerations: z.ZodOptional<z.ZodNumber>;
1334
1334
  lastOutcome: z.ZodOptional<z.ZodEnum<{
1335
+ stale: "stale";
1335
1336
  failed: "failed";
1336
1337
  passed: "passed";
1337
- stale: "stale";
1338
1338
  stopped: "stopped";
1339
1339
  incomplete: "incomplete";
1340
1340
  }>>;
@@ -1357,9 +1357,9 @@ export declare const workflowToolResultSchemas: {
1357
1357
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
1358
1358
  generation: z.ZodNumber;
1359
1359
  outcome: z.ZodEnum<{
1360
+ stale: "stale";
1360
1361
  failed: "failed";
1361
1362
  passed: "passed";
1362
- stale: "stale";
1363
1363
  stopped: "stopped";
1364
1364
  }>;
1365
1365
  completedAt: z.ZodString;
@@ -1456,13 +1456,13 @@ export declare const workflowToolResultSchemas: {
1456
1456
  }>>;
1457
1457
  state: z.ZodEnum<{
1458
1458
  open: "open";
1459
+ closed: "closed";
1459
1460
  awaiting_implementer: "awaiting_implementer";
1460
1461
  awaiting_reviews: "awaiting_reviews";
1461
1462
  awaiting_acceptance: "awaiting_acceptance";
1462
1463
  needs_context: "needs_context";
1463
1464
  blocked: "blocked";
1464
1465
  ready_to_close: "ready_to_close";
1465
- closed: "closed";
1466
1466
  }>;
1467
1467
  specReviewCount: z.ZodNumber;
1468
1468
  codeReviewCount: z.ZodNumber;
@@ -1576,6 +1576,7 @@ export declare const workflowToolResultSchemas: {
1576
1576
  autonomousGrantConsumed: z.ZodBoolean;
1577
1577
  reportRejectionCount: z.ZodNumber;
1578
1578
  nextAction: z.ZodEnum<{
1579
+ close: "close";
1579
1580
  closed: "closed";
1580
1581
  launch_implementer: "launch_implementer";
1581
1582
  await_result: "await_result";
@@ -1583,7 +1584,6 @@ export declare const workflowToolResultSchemas: {
1583
1584
  recover: "recover";
1584
1585
  recover_with_user_authorization: "recover_with_user_authorization";
1585
1586
  launch_blocked: "launch_blocked";
1586
- close: "close";
1587
1587
  }>;
1588
1588
  latestAttempt: z.ZodOptional<z.ZodObject<{
1589
1589
  attempt: z.ZodNumber;
@@ -1604,6 +1604,7 @@ export declare const workflowToolResultSchemas: {
1604
1604
  }, z.core.$strict>>;
1605
1605
  guidance: z.ZodOptional<z.ZodObject<{
1606
1606
  nextAction: z.ZodEnum<{
1607
+ close: "close";
1607
1608
  closed: "closed";
1608
1609
  launch_implementer: "launch_implementer";
1609
1610
  await_result: "await_result";
@@ -1611,7 +1612,6 @@ export declare const workflowToolResultSchemas: {
1611
1612
  recover: "recover";
1612
1613
  recover_with_user_authorization: "recover_with_user_authorization";
1613
1614
  launch_blocked: "launch_blocked";
1614
- close: "close";
1615
1615
  }>;
1616
1616
  launchEligible: z.ZodBoolean;
1617
1617
  blockers: z.ZodArray<z.ZodString>;
@@ -1658,9 +1658,9 @@ export declare const workflowToolResultSchemas: {
1658
1658
  }>;
1659
1659
  attempts: z.ZodNumber;
1660
1660
  lastOutcome: z.ZodOptional<z.ZodEnum<{
1661
+ stale: "stale";
1661
1662
  failed: "failed";
1662
1663
  passed: "passed";
1663
- stale: "stale";
1664
1664
  stopped: "stopped";
1665
1665
  incomplete: "incomplete";
1666
1666
  }>>;
@@ -1686,9 +1686,9 @@ export declare const workflowToolResultSchemas: {
1686
1686
  history: z.ZodArray<z.ZodObject<{
1687
1687
  generation: z.ZodNumber;
1688
1688
  outcome: z.ZodEnum<{
1689
+ stale: "stale";
1689
1690
  failed: "failed";
1690
1691
  passed: "passed";
1691
- stale: "stale";
1692
1692
  stopped: "stopped";
1693
1693
  }>;
1694
1694
  fingerprint: z.ZodString;
@@ -1764,9 +1764,9 @@ export declare const workflowToolResultSchemas: {
1764
1764
  generationBudget: z.ZodOptional<z.ZodNumber>;
1765
1765
  remainingGenerations: z.ZodOptional<z.ZodNumber>;
1766
1766
  lastOutcome: z.ZodOptional<z.ZodEnum<{
1767
+ stale: "stale";
1767
1768
  failed: "failed";
1768
1769
  passed: "passed";
1769
- stale: "stale";
1770
1770
  stopped: "stopped";
1771
1771
  incomplete: "incomplete";
1772
1772
  }>>;
@@ -1789,9 +1789,9 @@ export declare const workflowToolResultSchemas: {
1789
1789
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
1790
1790
  generation: z.ZodNumber;
1791
1791
  outcome: z.ZodEnum<{
1792
+ stale: "stale";
1792
1793
  failed: "failed";
1793
1794
  passed: "passed";
1794
- stale: "stale";
1795
1795
  stopped: "stopped";
1796
1796
  }>;
1797
1797
  completedAt: z.ZodString;
@@ -1882,13 +1882,13 @@ export declare const workflowToolResultSchemas: {
1882
1882
  header: z.ZodString;
1883
1883
  state: z.ZodEnum<{
1884
1884
  open: "open";
1885
+ closed: "closed";
1885
1886
  awaiting_implementer: "awaiting_implementer";
1886
1887
  awaiting_reviews: "awaiting_reviews";
1887
1888
  awaiting_acceptance: "awaiting_acceptance";
1888
1889
  needs_context: "needs_context";
1889
1890
  blocked: "blocked";
1890
1891
  ready_to_close: "ready_to_close";
1891
- closed: "closed";
1892
1892
  }>;
1893
1893
  closedAt: z.ZodString;
1894
1894
  }, z.core.$strict>, z.ZodObject<{
@@ -1953,13 +1953,13 @@ export declare const workflowToolResultSchemas: {
1953
1953
  grantedAttempts: z.ZodNumber;
1954
1954
  state: z.ZodOptional<z.ZodEnum<{
1955
1955
  open: "open";
1956
+ closed: "closed";
1956
1957
  awaiting_implementer: "awaiting_implementer";
1957
1958
  awaiting_reviews: "awaiting_reviews";
1958
1959
  awaiting_acceptance: "awaiting_acceptance";
1959
1960
  needs_context: "needs_context";
1960
1961
  blocked: "blocked";
1961
1962
  ready_to_close: "ready_to_close";
1962
- closed: "closed";
1963
1963
  }>>;
1964
1964
  }, z.core.$strict>, z.ZodObject<{
1965
1965
  tool: z.ZodLiteral<"work_item_decide">;
@@ -1978,15 +1978,16 @@ export declare const workflowToolResultSchemas: {
1978
1978
  remainingAttempts: z.ZodNumber;
1979
1979
  state: z.ZodEnum<{
1980
1980
  open: "open";
1981
+ closed: "closed";
1981
1982
  awaiting_implementer: "awaiting_implementer";
1982
1983
  awaiting_reviews: "awaiting_reviews";
1983
1984
  awaiting_acceptance: "awaiting_acceptance";
1984
1985
  needs_context: "needs_context";
1985
1986
  blocked: "blocked";
1986
1987
  ready_to_close: "ready_to_close";
1987
- closed: "closed";
1988
1988
  }>;
1989
1989
  nextAction: z.ZodEnum<{
1990
+ close: "close";
1990
1991
  closed: "closed";
1991
1992
  launch_implementer: "launch_implementer";
1992
1993
  await_result: "await_result";
@@ -1994,7 +1995,6 @@ export declare const workflowToolResultSchemas: {
1994
1995
  recover: "recover";
1995
1996
  recover_with_user_authorization: "recover_with_user_authorization";
1996
1997
  launch_blocked: "launch_blocked";
1997
- close: "close";
1998
1998
  }>;
1999
1999
  }, z.core.$strict>, z.ZodObject<{
2000
2000
  tool: z.ZodLiteral<"work_item_decide">;
@@ -2009,13 +2009,13 @@ export declare const workflowToolResultSchemas: {
2009
2009
  decisionId: z.ZodString;
2010
2010
  state: z.ZodEnum<{
2011
2011
  open: "open";
2012
+ closed: "closed";
2012
2013
  awaiting_implementer: "awaiting_implementer";
2013
2014
  awaiting_reviews: "awaiting_reviews";
2014
2015
  awaiting_acceptance: "awaiting_acceptance";
2015
2016
  needs_context: "needs_context";
2016
2017
  blocked: "blocked";
2017
2018
  ready_to_close: "ready_to_close";
2018
- closed: "closed";
2019
2019
  }>;
2020
2020
  }, z.core.$strict>, z.ZodObject<{
2021
2021
  sessionId: z.ZodOptional<z.ZodString>;
@@ -2101,9 +2101,9 @@ export declare const workflowToolResultSchemas: {
2101
2101
  runId: z.ZodString;
2102
2102
  checkpointId: z.ZodString;
2103
2103
  outcome: z.ZodEnum<{
2104
+ stale: "stale";
2104
2105
  failed: "failed";
2105
2106
  passed: "passed";
2106
- stale: "stale";
2107
2107
  stopped: "stopped";
2108
2108
  incomplete: "incomplete";
2109
2109
  "already-passed": "already-passed";
@@ -2160,9 +2160,9 @@ export declare const workflowToolResultSchemas: {
2160
2160
  generationBudget: z.ZodOptional<z.ZodNumber>;
2161
2161
  settledStoppedGeneration: z.ZodOptional<z.ZodNumber>;
2162
2162
  lastOutcome: z.ZodOptional<z.ZodEnum<{
2163
+ stale: "stale";
2163
2164
  failed: "failed";
2164
2165
  passed: "passed";
2165
- stale: "stale";
2166
2166
  stopped: "stopped";
2167
2167
  incomplete: "incomplete";
2168
2168
  }>>;
@@ -2241,9 +2241,9 @@ export declare const workflowToolResultSchemas: {
2241
2241
  generationBudget: z.ZodOptional<z.ZodNumber>;
2242
2242
  remainingGenerations: z.ZodOptional<z.ZodNumber>;
2243
2243
  lastOutcome: z.ZodOptional<z.ZodEnum<{
2244
+ stale: "stale";
2244
2245
  failed: "failed";
2245
2246
  passed: "passed";
2246
- stale: "stale";
2247
2247
  stopped: "stopped";
2248
2248
  incomplete: "incomplete";
2249
2249
  }>>;
@@ -2266,9 +2266,9 @@ export declare const workflowToolResultSchemas: {
2266
2266
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
2267
2267
  generation: z.ZodNumber;
2268
2268
  outcome: z.ZodEnum<{
2269
+ stale: "stale";
2269
2270
  failed: "failed";
2270
2271
  passed: "passed";
2271
- stale: "stale";
2272
2272
  stopped: "stopped";
2273
2273
  }>;
2274
2274
  completedAt: z.ZodString;
@@ -2371,9 +2371,9 @@ export declare const workflowToolResultSchemas: {
2371
2371
  generationBudget: z.ZodOptional<z.ZodNumber>;
2372
2372
  remainingGenerations: z.ZodOptional<z.ZodNumber>;
2373
2373
  lastOutcome: z.ZodOptional<z.ZodEnum<{
2374
+ stale: "stale";
2374
2375
  failed: "failed";
2375
2376
  passed: "passed";
2376
- stale: "stale";
2377
2377
  stopped: "stopped";
2378
2378
  incomplete: "incomplete";
2379
2379
  }>>;
@@ -2396,9 +2396,9 @@ export declare const workflowToolResultSchemas: {
2396
2396
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
2397
2397
  generation: z.ZodNumber;
2398
2398
  outcome: z.ZodEnum<{
2399
+ stale: "stale";
2399
2400
  failed: "failed";
2400
2401
  passed: "passed";
2401
- stale: "stale";
2402
2402
  stopped: "stopped";
2403
2403
  }>;
2404
2404
  completedAt: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovv/vv-opencode",
3
- "version": "2.2.1",
3
+ "version": "2.3.0-rc.1",
4
4
  "description": "An opinionated agentic development layer for OpenCode — spec-first when it matters, review-driven execution, portable model roles, safer tools, and long-run safety.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -95,6 +95,10 @@
95
95
  "./plugins/spec-guard": {
96
96
  "types": "./dist/plugins/spec-guard/index.d.ts",
97
97
  "import": "./dist/plugins/spec-guard/index.js"
98
+ },
99
+ "./plugins/telegram": {
100
+ "types": "./dist/plugins/telegram/index.d.ts",
101
+ "import": "./dist/plugins/telegram/index.js"
98
102
  }
99
103
  },
100
104
  "scripts": {
@@ -127,6 +131,7 @@
127
131
  "ajv": "^8.17.1",
128
132
  "citty": "0.2.2",
129
133
  "effect": "4.0.0-rc.112",
134
+ "grammy": "^1.46.0",
130
135
  "htmlparser2": "^12.0.0",
131
136
  "jsonc-parser": "3.3.1",
132
137
  "turndown": "^7.2.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://cdn.jsdelivr.net/npm/@osovv/vv-opencode@2.2.1/schemas/vvoc/v3.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@osovv/vv-opencode@2.3.0-rc.1/schemas/vvoc/v3.json",
4
4
  "title": "vvoc config",
5
5
  "description": "Canonical vvoc configuration document.",
6
6
  "type": "object",
@@ -416,14 +416,14 @@
416
416
  }
417
417
  }
418
418
  },
419
- "required": [
420
- "windows"
421
- ],
422
- "additionalProperties": false
423
- }
424
- }
425
- },
426
- "additionalProperties": false
419
+ "required": [
420
+ "windows"
421
+ ],
422
+ "additionalProperties": false
423
+ }
424
+ }
425
+ },
426
+ "additionalProperties": false
427
427
  },
428
428
  {
429
429
  "type": "object",
@@ -576,6 +576,86 @@
576
576
  "maximum": 5
577
577
  }
578
578
  }
579
+ },
580
+ "telegram": {
581
+ "type": "object",
582
+ "description": "Optional Telegram bridge section enabling the vvoc.telegram server plugin gateway.",
583
+ "additionalProperties": false,
584
+ "required": [
585
+ "botToken",
586
+ "allowedUserIds"
587
+ ],
588
+ "properties": {
589
+ "enabled": {
590
+ "type": "boolean"
591
+ },
592
+ "botToken": {
593
+ "type": "string",
594
+ "minLength": 1,
595
+ "description": "Telegram bot token. Either a literal value or ${VAR} placeholders resolved from the OpenCode process environment at startup; never committed to project config."
596
+ },
597
+ "allowedUserIds": {
598
+ "type": "array",
599
+ "minItems": 1,
600
+ "items": {
601
+ "type": "integer"
602
+ },
603
+ "description": "Numeric Telegram user ids allowed to interact with the bot."
604
+ },
605
+ "activityWindowMinutes": {
606
+ "type": "integer",
607
+ "minimum": 1,
608
+ "description": "Minutes a session stays active after its last update. Default 240."
609
+ },
610
+ "apiRoot": {
611
+ "type": "string",
612
+ "minLength": 1,
613
+ "description": "Custom Telegram Bot API root URL for restricted networks."
614
+ },
615
+ "proxyUrl": {
616
+ "type": "string",
617
+ "minLength": 1,
618
+ "description": "Outbound proxy URL for Telegram Bot API traffic."
619
+ },
620
+ "settings": {
621
+ "type": "object",
622
+ "additionalProperties": false,
623
+ "properties": {
624
+ "showReasoning": {
625
+ "type": "boolean"
626
+ },
627
+ "showToolCalls": {
628
+ "type": "boolean"
629
+ },
630
+ "formatMode": {
631
+ "type": "string",
632
+ "enum": [
633
+ "markdown",
634
+ "raw"
635
+ ]
636
+ },
637
+ "codeFileMaxKb": {
638
+ "type": "integer",
639
+ "minimum": 1
640
+ },
641
+ "mergeWindowMs": {
642
+ "type": "integer",
643
+ "minimum": 0
644
+ }
645
+ }
646
+ }
647
+ },
648
+ "allOf": [
649
+ {
650
+ "if": {
651
+ "required": [
652
+ "apiRoot",
653
+ "proxyUrl"
654
+ ]
655
+ },
656
+ "then": false
657
+ }
658
+ ]
579
659
  }
580
660
  }
581
661
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Generated from the pure tool catalog. Do not edit by hand; run `bun run contracts:generate`.
4
4
 
5
- - Package: `@osovv/vv-opencode@2.2.1`
5
+ - Package: `@osovv/vv-opencode@2.3.0-rc.1`
6
6
  - Tool contract revision: `1`
7
7
  - Reference path: `templates/skills/vv-execute/references/tool-contracts.md`
8
8
  - Current model-facing size: descriptions 8794 bytes, published input schemas 22572 bytes