@providerprotocol/agents 0.0.2 → 0.0.3

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 (73) hide show
  1. package/dist/checkpoint/index.d.ts +43 -0
  2. package/dist/checkpoint/index.js +64 -0
  3. package/dist/checkpoint/index.js.map +1 -0
  4. package/{src/execution/loop.ts → dist/chunk-4ESYN66B.js} +54 -162
  5. package/dist/chunk-4ESYN66B.js.map +1 -0
  6. package/dist/chunk-EKRXMSDX.js +8 -0
  7. package/dist/chunk-EKRXMSDX.js.map +1 -0
  8. package/dist/chunk-PHI5ULBV.js +427 -0
  9. package/dist/chunk-PHI5ULBV.js.map +1 -0
  10. package/dist/execution/index.d.ts +105 -0
  11. package/dist/execution/index.js +679 -0
  12. package/dist/execution/index.js.map +1 -0
  13. package/dist/index-qsPwbY86.d.ts +65 -0
  14. package/dist/index.d.ts +101 -0
  15. package/dist/index.js +218 -0
  16. package/dist/index.js.map +1 -0
  17. package/dist/middleware/index.d.ts +23 -0
  18. package/dist/middleware/index.js +82 -0
  19. package/dist/middleware/index.js.map +1 -0
  20. package/dist/thread-tree/index.d.ts +115 -0
  21. package/dist/thread-tree/index.js +4 -0
  22. package/dist/thread-tree/index.js.map +1 -0
  23. package/dist/types-2Vsthzyu.d.ts +163 -0
  24. package/dist/types-BhX9uD_d.d.ts +91 -0
  25. package/dist/types-DR02gtFv.d.ts +270 -0
  26. package/dist/types-NGQMdnaD.d.ts +65 -0
  27. package/package.json +40 -8
  28. package/.claude/settings.local.json +0 -29
  29. package/AGENTS.md +0 -681
  30. package/CLAUDE.md +0 -681
  31. package/bun.lock +0 -472
  32. package/eslint.config.js +0 -75
  33. package/index.ts +0 -1
  34. package/llms.md +0 -796
  35. package/specs/UAP-1.0.md +0 -2355
  36. package/src/agent/index.ts +0 -384
  37. package/src/agent/types.ts +0 -91
  38. package/src/checkpoint/file.ts +0 -126
  39. package/src/checkpoint/index.ts +0 -40
  40. package/src/checkpoint/types.ts +0 -95
  41. package/src/execution/index.ts +0 -37
  42. package/src/execution/plan.ts +0 -497
  43. package/src/execution/react.ts +0 -340
  44. package/src/execution/tool-ordering.ts +0 -186
  45. package/src/execution/types.ts +0 -315
  46. package/src/index.ts +0 -80
  47. package/src/middleware/index.ts +0 -7
  48. package/src/middleware/logging.ts +0 -123
  49. package/src/middleware/types.ts +0 -69
  50. package/src/state/index.ts +0 -301
  51. package/src/state/types.ts +0 -173
  52. package/src/thread-tree/index.ts +0 -249
  53. package/src/thread-tree/types.ts +0 -29
  54. package/src/utils/uuid.ts +0 -7
  55. package/tests/live/agent-anthropic.test.ts +0 -288
  56. package/tests/live/agent-strategy-hooks.test.ts +0 -268
  57. package/tests/live/checkpoint.test.ts +0 -243
  58. package/tests/live/execution-strategies.test.ts +0 -255
  59. package/tests/live/plan-strategy.test.ts +0 -160
  60. package/tests/live/subagent-events.live.test.ts +0 -249
  61. package/tests/live/thread-tree.test.ts +0 -186
  62. package/tests/unit/agent.test.ts +0 -703
  63. package/tests/unit/checkpoint.test.ts +0 -232
  64. package/tests/unit/execution/equivalence.test.ts +0 -402
  65. package/tests/unit/execution/loop.test.ts +0 -437
  66. package/tests/unit/execution/plan.test.ts +0 -590
  67. package/tests/unit/execution/react.test.ts +0 -604
  68. package/tests/unit/execution/subagent-events.test.ts +0 -235
  69. package/tests/unit/execution/tool-ordering.test.ts +0 -310
  70. package/tests/unit/middleware/logging.test.ts +0 -276
  71. package/tests/unit/state.test.ts +0 -573
  72. package/tests/unit/thread-tree.test.ts +0 -249
  73. package/tsconfig.json +0 -29
package/eslint.config.js DELETED
@@ -1,75 +0,0 @@
1
- import eslint from '@eslint/js';
2
- import tseslint from '@typescript-eslint/eslint-plugin';
3
- import tsparser from '@typescript-eslint/parser';
4
- import importPlugin from 'eslint-plugin-import';
5
-
6
- export default [
7
- eslint.configs.recommended,
8
- {
9
- files: ['src/**/*.ts', 'tests/**/*.ts', 'examples/**/*.ts', 'examples/**/*.tsx'],
10
- languageOptions: {
11
- parser: tsparser,
12
- parserOptions: {
13
- project: './tsconfig.json',
14
- ecmaVersion: 'latest',
15
- sourceType: 'module',
16
- ecmaFeatures: {
17
- jsx: true,
18
- },
19
- },
20
- globals: {
21
- console: 'readonly',
22
- process: 'readonly',
23
- setTimeout: 'readonly',
24
- clearTimeout: 'readonly',
25
- AbortSignal: 'readonly',
26
- AbortController: 'readonly',
27
- React: 'readonly',
28
- Bun: 'readonly',
29
- Buffer: 'readonly',
30
- },
31
- },
32
- plugins: {
33
- '@typescript-eslint': tseslint,
34
- import: importPlugin,
35
- },
36
- rules: {
37
- // TypeScript strict rules
38
- '@typescript-eslint/no-explicit-any': 'error',
39
- '@typescript-eslint/explicit-function-return-type': 'off',
40
- '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
41
- '@typescript-eslint/no-non-null-assertion': 'error',
42
-
43
- // AirBnB style rules
44
- 'no-console': 'off',
45
- 'import/prefer-default-export': 'off',
46
- 'import/extensions': 'off',
47
- 'no-use-before-define': 'off',
48
- '@typescript-eslint/no-use-before-define': ['error', { functions: false }],
49
- 'no-shadow': 'off',
50
- '@typescript-eslint/no-shadow': 'error',
51
- 'no-unused-vars': 'off',
52
- 'max-classes-per-file': 'off',
53
- 'class-methods-use-this': 'off',
54
- 'no-continue': 'off',
55
- 'no-await-in-loop': 'off',
56
- 'no-restricted-syntax': 'off',
57
- 'no-plusplus': 'off',
58
-
59
- // General best practices
60
- 'prefer-const': 'error',
61
- 'no-var': 'error',
62
- 'object-shorthand': 'error',
63
- 'prefer-template': 'error',
64
- 'prefer-spread': 'error',
65
- 'prefer-rest-params': 'error',
66
- 'no-param-reassign': ['error', { props: false }],
67
-
68
- // Allow ANSI escape codes in regex for terminal output
69
- 'no-control-regex': 'off',
70
- },
71
- },
72
- {
73
- ignores: ['node_modules/**', 'dist/**', '*.js'],
74
- },
75
- ];
package/index.ts DELETED
@@ -1 +0,0 @@
1
- console.log("Hello via Bun!");