@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.
- package/dist/checkpoint/index.d.ts +43 -0
- package/dist/checkpoint/index.js +64 -0
- package/dist/checkpoint/index.js.map +1 -0
- package/{src/execution/loop.ts → dist/chunk-4ESYN66B.js} +54 -162
- package/dist/chunk-4ESYN66B.js.map +1 -0
- package/dist/chunk-EKRXMSDX.js +8 -0
- package/dist/chunk-EKRXMSDX.js.map +1 -0
- package/dist/chunk-PHI5ULBV.js +427 -0
- package/dist/chunk-PHI5ULBV.js.map +1 -0
- package/dist/execution/index.d.ts +105 -0
- package/dist/execution/index.js +679 -0
- package/dist/execution/index.js.map +1 -0
- package/dist/index-qsPwbY86.d.ts +65 -0
- package/dist/index.d.ts +101 -0
- package/dist/index.js +218 -0
- package/dist/index.js.map +1 -0
- package/dist/middleware/index.d.ts +23 -0
- package/dist/middleware/index.js +82 -0
- package/dist/middleware/index.js.map +1 -0
- package/dist/thread-tree/index.d.ts +115 -0
- package/dist/thread-tree/index.js +4 -0
- package/dist/thread-tree/index.js.map +1 -0
- package/dist/types-2Vsthzyu.d.ts +163 -0
- package/dist/types-BhX9uD_d.d.ts +91 -0
- package/dist/types-DR02gtFv.d.ts +270 -0
- package/dist/types-NGQMdnaD.d.ts +65 -0
- package/package.json +40 -8
- package/.claude/settings.local.json +0 -29
- package/AGENTS.md +0 -681
- package/CLAUDE.md +0 -681
- package/bun.lock +0 -472
- package/eslint.config.js +0 -75
- package/index.ts +0 -1
- package/llms.md +0 -796
- package/specs/UAP-1.0.md +0 -2355
- package/src/agent/index.ts +0 -384
- package/src/agent/types.ts +0 -91
- package/src/checkpoint/file.ts +0 -126
- package/src/checkpoint/index.ts +0 -40
- package/src/checkpoint/types.ts +0 -95
- package/src/execution/index.ts +0 -37
- package/src/execution/plan.ts +0 -497
- package/src/execution/react.ts +0 -340
- package/src/execution/tool-ordering.ts +0 -186
- package/src/execution/types.ts +0 -315
- package/src/index.ts +0 -80
- package/src/middleware/index.ts +0 -7
- package/src/middleware/logging.ts +0 -123
- package/src/middleware/types.ts +0 -69
- package/src/state/index.ts +0 -301
- package/src/state/types.ts +0 -173
- package/src/thread-tree/index.ts +0 -249
- package/src/thread-tree/types.ts +0 -29
- package/src/utils/uuid.ts +0 -7
- package/tests/live/agent-anthropic.test.ts +0 -288
- package/tests/live/agent-strategy-hooks.test.ts +0 -268
- package/tests/live/checkpoint.test.ts +0 -243
- package/tests/live/execution-strategies.test.ts +0 -255
- package/tests/live/plan-strategy.test.ts +0 -160
- package/tests/live/subagent-events.live.test.ts +0 -249
- package/tests/live/thread-tree.test.ts +0 -186
- package/tests/unit/agent.test.ts +0 -703
- package/tests/unit/checkpoint.test.ts +0 -232
- package/tests/unit/execution/equivalence.test.ts +0 -402
- package/tests/unit/execution/loop.test.ts +0 -437
- package/tests/unit/execution/plan.test.ts +0 -590
- package/tests/unit/execution/react.test.ts +0 -604
- package/tests/unit/execution/subagent-events.test.ts +0 -235
- package/tests/unit/execution/tool-ordering.test.ts +0 -310
- package/tests/unit/middleware/logging.test.ts +0 -276
- package/tests/unit/state.test.ts +0 -573
- package/tests/unit/thread-tree.test.ts +0 -249
- 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!");
|