icrl-py 0.1.0__tar.gz
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.
- icrl_py-0.1.0/.codex/environments/environment.toml +12 -0
- icrl_py-0.1.0/.gitignore +36 -0
- icrl_py-0.1.0/.python-version +1 -0
- icrl_py-0.1.0/LICENSE +21 -0
- icrl_py-0.1.0/PKG-INFO +645 -0
- icrl_py-0.1.0/README.md +590 -0
- icrl_py-0.1.0/docs/api-reference/agent.mdx +49 -0
- icrl_py-0.1.0/docs/api-reference/anthropic-vertex-provider.mdx +35 -0
- icrl_py-0.1.0/docs/api-reference/curation-manager.mdx +26 -0
- icrl_py-0.1.0/docs/api-reference/embedder.mdx +38 -0
- icrl_py-0.1.0/docs/api-reference/environment.mdx +21 -0
- icrl_py-0.1.0/docs/api-reference/litellm-provider.mdx +32 -0
- icrl_py-0.1.0/docs/api-reference/llm-provider.mdx +13 -0
- icrl_py-0.1.0/docs/api-reference/message.mdx +14 -0
- icrl_py-0.1.0/docs/api-reference/overview.mdx +48 -0
- icrl_py-0.1.0/docs/api-reference/step-context.mdx +38 -0
- icrl_py-0.1.0/docs/api-reference/step.mdx +15 -0
- icrl_py-0.1.0/docs/api-reference/trajectory-database.mdx +51 -0
- icrl_py-0.1.0/docs/api-reference/trajectory-retriever.mdx +22 -0
- icrl_py-0.1.0/docs/api-reference/trajectory.mdx +24 -0
- icrl_py-0.1.0/docs/api-reference/typescript-package.mdx +59 -0
- icrl_py-0.1.0/docs/core-concepts/curation.mdx +32 -0
- icrl_py-0.1.0/docs/core-concepts/icrl-algorithm.mdx +43 -0
- icrl_py-0.1.0/docs/core-concepts/react-loop.mdx +40 -0
- icrl_py-0.1.0/docs/core-concepts/trajectory-database.mdx +40 -0
- icrl_py-0.1.0/docs/docs.json +129 -0
- icrl_py-0.1.0/docs/examples/file-system-agent.mdx +49 -0
- icrl_py-0.1.0/docs/examples/harbor-coding-agent.mdx +39 -0
- icrl_py-0.1.0/docs/examples/testing-with-mock-llm.mdx +32 -0
- icrl_py-0.1.0/docs/guides/batch-training.mdx +31 -0
- icrl_py-0.1.0/docs/guides/cli.mdx +176 -0
- icrl_py-0.1.0/docs/guides/convex-provider.mdx +56 -0
- icrl_py-0.1.0/docs/guides/custom-environments.mdx +49 -0
- icrl_py-0.1.0/docs/guides/custom-llm-providers.mdx +48 -0
- icrl_py-0.1.0/docs/guides/prompt-templates.mdx +43 -0
- icrl_py-0.1.0/docs/guides/typescript-package.mdx +67 -0
- icrl_py-0.1.0/docs/guides/web-example.mdx +78 -0
- icrl_py-0.1.0/docs/icon.png +0 -0
- icrl_py-0.1.0/docs/images/hero-dark.svg +66 -0
- icrl_py-0.1.0/docs/images/hero-light.svg +66 -0
- icrl_py-0.1.0/docs/installation.mdx +72 -0
- icrl_py-0.1.0/docs/introduction.mdx +49 -0
- icrl_py-0.1.0/docs/logo/logo_dark.png +0 -0
- icrl_py-0.1.0/docs/logo/logo_light.png +0 -0
- icrl_py-0.1.0/docs/quickstart.mdx +86 -0
- icrl_py-0.1.0/examples/README.md +37 -0
- icrl_py-0.1.0/examples/__init__.py +3 -0
- icrl_py-0.1.0/examples/basic_anthropic_demo.py +79 -0
- icrl_py-0.1.0/examples/basic_openai_demo.py +62 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/.gitignore +8 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/README.md +202 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/PATTERNS.md +186 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/_reference/README.md +44 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/_reference/comparison.md +166 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/_reference/orders_model.py +96 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/_reference/orders_routes.py +132 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/_reference/orders_service.py +215 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/__init__.py +3 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/core/__init__.py +37 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/core/exceptions.py +132 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/core/logging.py +89 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/core/response.py +101 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/main.py +128 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/models/__init__.py +70 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/models/category.py +83 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/models/inventory.py +90 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/models/inventory.py.icrl +90 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/models/order.py +92 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/models/product.py +98 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/models/user.py +84 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/routes/__init__.py +30 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/routes/inventory.py +127 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/routes/inventory.py.icrl +127 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/routes/products.py +148 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/routes/users.py +110 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/services/__init__.py +49 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/services/category_service.py +244 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/services/inventory_service.py +186 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/services/order_service.py +206 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/services/product_service.py +287 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/app/services/user_service.py +217 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/pyproject.toml +27 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/tests/__init__.py +1 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/tests/conftest.py +10 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/tests/test_products.py +148 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/mock_codebase/tests/test_users.py +108 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/run_demo.sh +35 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/setup_demo.py +225 -0
- icrl_py-0.1.0/examples/codebase_patterns_demo/validate_patterns.py +187 -0
- icrl_py-0.1.0/examples/demo_with_real_llm.py +234 -0
- icrl_py-0.1.0/examples/exception_handling_demo/.gitignore +5 -0
- icrl_py-0.1.0/examples/exception_handling_demo/README.md +109 -0
- icrl_py-0.1.0/examples/exception_handling_demo/evaluate_responses.py +332 -0
- icrl_py-0.1.0/examples/exception_handling_demo/run_demo.py +373 -0
- icrl_py-0.1.0/examples/exception_handling_demo/run_quick_demo.sh +32 -0
- icrl_py-0.1.0/examples/exception_handling_demo/scenarios/policies.md +63 -0
- icrl_py-0.1.0/examples/exception_handling_demo/scenarios/seed_decisions.json +112 -0
- icrl_py-0.1.0/examples/exception_handling_demo/scenarios/test_scenarios.json +112 -0
- icrl_py-0.1.0/examples/exception_handling_demo/setup_demo.py +203 -0
- icrl_py-0.1.0/examples/file_api_env.py +321 -0
- icrl_py-0.1.0/examples/it_support_demo/.gitignore +9 -0
- icrl_py-0.1.0/examples/it_support_demo/README.md +94 -0
- icrl_py-0.1.0/examples/it_support_demo/evaluate_responses.py +248 -0
- icrl_py-0.1.0/examples/it_support_demo/knowledge_base/official_docs.md +69 -0
- icrl_py-0.1.0/examples/it_support_demo/run_demo.py +358 -0
- icrl_py-0.1.0/examples/it_support_demo/run_quick_demo.sh +29 -0
- icrl_py-0.1.0/examples/it_support_demo/scenarios/seed_tickets.json +102 -0
- icrl_py-0.1.0/examples/it_support_demo/scenarios/test_tickets.json +82 -0
- icrl_py-0.1.0/examples/it_support_demo/setup_demo.py +200 -0
- icrl_py-0.1.0/examples/mock_llm.py +185 -0
- icrl_py-0.1.0/examples/preference_learning_demo/README.md +166 -0
- icrl_py-0.1.0/examples/preference_learning_demo/run_demo.py +379 -0
- icrl_py-0.1.0/examples/preference_learning_demo/scenarios/seed_interactions.json +107 -0
- icrl_py-0.1.0/examples/preference_learning_demo/scenarios/test_requests.json +226 -0
- icrl_py-0.1.0/examples/preference_learning_demo/setup_demo.py +231 -0
- icrl_py-0.1.0/examples/preference_learning_demo/user_profiles/expert_terse.json +26 -0
- icrl_py-0.1.0/examples/preference_learning_demo/user_profiles/learner_detailed.json +26 -0
- icrl_py-0.1.0/examples/preference_learning_demo/user_profiles/manager_summary.json +29 -0
- icrl_py-0.1.0/examples/tasks.py +95 -0
- icrl_py-0.1.0/icrl-ts/.gitignore +1 -0
- icrl_py-0.1.0/icrl-ts/LICENSE +21 -0
- icrl_py-0.1.0/icrl-ts/README.md +97 -0
- icrl_py-0.1.0/icrl-ts/bun.lock +839 -0
- icrl_py-0.1.0/icrl-ts/examples/README.md +45 -0
- icrl_py-0.1.0/icrl-ts/examples/_demo_shared.ts +86 -0
- icrl_py-0.1.0/icrl-ts/examples/_live_env.ts +60 -0
- icrl_py-0.1.0/icrl-ts/examples/anthropic-demo.ts +61 -0
- icrl_py-0.1.0/icrl-ts/examples/incident-response-demo.ts +110 -0
- icrl_py-0.1.0/icrl-ts/examples/openai-demo.ts +57 -0
- icrl_py-0.1.0/icrl-ts/examples/support-triage-demo.ts +113 -0
- icrl_py-0.1.0/icrl-ts/examples/web-convex-demo.ts +82 -0
- icrl_py-0.1.0/icrl-ts/package-lock.json +5543 -0
- icrl_py-0.1.0/icrl-ts/package.json +108 -0
- icrl_py-0.1.0/icrl-ts/src/adapters/filesystem.ts +306 -0
- icrl_py-0.1.0/icrl-ts/src/adapters/index.ts +6 -0
- icrl_py-0.1.0/icrl-ts/src/agent.ts +230 -0
- icrl_py-0.1.0/icrl-ts/src/curation.ts +111 -0
- icrl_py-0.1.0/icrl-ts/src/database.ts +297 -0
- icrl_py-0.1.0/icrl-ts/src/index.ts +118 -0
- icrl_py-0.1.0/icrl-ts/src/loop.ts +195 -0
- icrl_py-0.1.0/icrl-ts/src/models.ts +264 -0
- icrl_py-0.1.0/icrl-ts/src/protocols.ts +183 -0
- icrl_py-0.1.0/icrl-ts/src/providers/anthropic-vertex.ts +132 -0
- icrl_py-0.1.0/icrl-ts/src/providers/anthropic.ts +90 -0
- icrl_py-0.1.0/icrl-ts/src/providers/index.ts +12 -0
- icrl_py-0.1.0/icrl-ts/src/providers/openai.ts +122 -0
- icrl_py-0.1.0/icrl-ts/src/retriever.ts +104 -0
- icrl_py-0.1.0/icrl-ts/src/storage.ts +238 -0
- icrl_py-0.1.0/icrl-ts/tests/README.md +36 -0
- icrl_py-0.1.0/icrl-ts/tests/_shared.ts +110 -0
- icrl_py-0.1.0/icrl-ts/tests/basic.ts +65 -0
- icrl_py-0.1.0/icrl-ts/tests/batch.ts +72 -0
- icrl_py-0.1.0/icrl-ts/tests/curation.ts +77 -0
- icrl_py-0.1.0/icrl-ts/tests/database.ts +75 -0
- icrl_py-0.1.0/icrl-ts/tests/loop.ts +70 -0
- icrl_py-0.1.0/icrl-ts/tests/models.ts +95 -0
- icrl_py-0.1.0/icrl-ts/tests/providers.ts +108 -0
- icrl_py-0.1.0/icrl-ts/tests/retriever.ts +92 -0
- icrl_py-0.1.0/icrl-ts/tsconfig.json +26 -0
- icrl_py-0.1.0/icrl-ts/web-example/.gitignore +41 -0
- icrl_py-0.1.0/icrl-ts/web-example/README.md +186 -0
- icrl_py-0.1.0/icrl-ts/web-example/bun.lock +1648 -0
- icrl_py-0.1.0/icrl-ts/web-example/components.json +22 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/README.md +90 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/_generated/api.d.ts +57 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/_generated/api.js +23 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/_generated/dataModel.d.ts +60 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/_generated/server.d.ts +143 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/_generated/server.js +93 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/databases.ts +169 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/embeddings.ts +183 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/examples.ts +138 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/schema.ts +89 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/suggestions.ts +115 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/trajectories.ts +189 -0
- icrl_py-0.1.0/icrl-ts/web-example/convex/tsconfig.json +25 -0
- icrl_py-0.1.0/icrl-ts/web-example/eslint.config.mjs +18 -0
- icrl_py-0.1.0/icrl-ts/web-example/next.config.ts +7 -0
- icrl_py-0.1.0/icrl-ts/web-example/package.json +64 -0
- icrl_py-0.1.0/icrl-ts/web-example/pnpm-lock.yaml +5840 -0
- icrl_py-0.1.0/icrl-ts/web-example/postcss.config.mjs +7 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/favicon.png +0 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/file.svg +1 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/globe.svg +1 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/logo_dark.png +0 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/logo_dark.svg +14 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/logo_hero_dark.svg +14 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/logo_hero_light.svg +14 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/logo_light.png +0 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/logo_light.svg +14 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/next.svg +1 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/vercel.svg +1 -0
- icrl_py-0.1.0/icrl-ts/web-example/public/window.svg +1 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/app/[dbSlug]/[tab]/page.tsx +183 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/app/[dbSlug]/layout.tsx +163 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/app/globals.css +151 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/app/icon.png +0 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/app/layout.tsx +42 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/app/page.tsx +108 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/app/providers.tsx +23 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/answer-choice.tsx +216 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/api-status-banner.tsx +20 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ask-mode.tsx +171 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/database-selector.tsx +311 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/examples-list.tsx +387 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/footer.tsx +32 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/header.tsx +52 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/question-input.tsx +179 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/success-message.tsx +46 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/system-prompt-editor.tsx +111 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/accordion.tsx +66 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/alert-dialog.tsx +196 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/alert.tsx +66 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/aspect-ratio.tsx +11 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/avatar.tsx +109 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/badge.tsx +48 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/breadcrumb.tsx +109 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/button-group.tsx +83 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/button.tsx +64 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/calendar.tsx +220 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/card.tsx +92 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/carousel.tsx +241 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/chart.tsx +357 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/checkbox.tsx +32 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/code-block.tsx +125 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/collapsible.tsx +33 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/combobox.tsx +310 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/command.tsx +184 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/context-menu.tsx +252 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/dialog.tsx +144 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/direction.tsx +22 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/drawer.tsx +135 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/dropdown-menu.tsx +257 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/empty.tsx +104 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/field.tsx +248 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/form.tsx +167 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/hover-card.tsx +44 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/input-group.tsx +170 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/input-otp.tsx +77 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/input.tsx +21 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/item.tsx +193 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/kbd.tsx +28 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/label.tsx +24 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/markdown.tsx +126 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/menubar.tsx +276 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/native-select.tsx +53 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/navigation-menu.tsx +168 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/pagination.tsx +127 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/popover.tsx +89 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/progress.tsx +31 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/radio-group.tsx +45 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/resizable.tsx +53 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/scroll-area.tsx +58 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/select.tsx +190 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/separator.tsx +28 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/sheet.tsx +143 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/sidebar.tsx +726 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/skeleton.tsx +13 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/slider.tsx +63 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/sonner.tsx +40 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/spinner.tsx +16 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/switch.tsx +35 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/table.tsx +116 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/tabs.tsx +81 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/textarea.tsx +18 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/toggle-group.tsx +83 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/toggle.tsx +47 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/ui/tooltip.tsx +61 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/components/yolo-mode.tsx +385 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/hooks/use-mobile.ts +19 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/lib/actions.ts +670 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/lib/anthropic-vertex.ts +182 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/lib/anthropic.ts +104 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/lib/convex-adapter.ts +334 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/lib/google-vertex-gemini.ts +184 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/lib/llm-provider.ts +106 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/lib/slug.ts +20 -0
- icrl_py-0.1.0/icrl-ts/web-example/src/lib/utils.ts +6 -0
- icrl_py-0.1.0/icrl-ts/web-example/tsconfig.json +34 -0
- icrl_py-0.1.0/icrl-ts/web-landing/.gitignore +14 -0
- icrl_py-0.1.0/icrl-ts/web-landing/bun.lock +938 -0
- icrl_py-0.1.0/icrl-ts/web-landing/components.json +22 -0
- icrl_py-0.1.0/icrl-ts/web-landing/eslint.config.mjs +16 -0
- icrl_py-0.1.0/icrl-ts/web-landing/next.config.ts +7 -0
- icrl_py-0.1.0/icrl-ts/web-landing/package.json +36 -0
- icrl_py-0.1.0/icrl-ts/web-landing/postcss.config.mjs +7 -0
- icrl_py-0.1.0/icrl-ts/web-landing/public/favicon.png +0 -0
- icrl_py-0.1.0/icrl-ts/web-landing/public/logo_dark.png +0 -0
- icrl_py-0.1.0/icrl-ts/web-landing/public/logo_dark.svg +14 -0
- icrl_py-0.1.0/icrl-ts/web-landing/public/logo_hero_dark.svg +14 -0
- icrl_py-0.1.0/icrl-ts/web-landing/public/logo_hero_light.svg +14 -0
- icrl_py-0.1.0/icrl-ts/web-landing/public/logo_light.png +0 -0
- icrl_py-0.1.0/icrl-ts/web-landing/public/logo_light.svg +14 -0
- icrl_py-0.1.0/icrl-ts/web-landing/src/app/globals.css +227 -0
- icrl_py-0.1.0/icrl-ts/web-landing/src/app/icon.png +0 -0
- icrl_py-0.1.0/icrl-ts/web-landing/src/app/layout.tsx +39 -0
- icrl_py-0.1.0/icrl-ts/web-landing/src/app/page.tsx +359 -0
- icrl_py-0.1.0/icrl-ts/web-landing/src/components/site-footer.tsx +33 -0
- icrl_py-0.1.0/icrl-ts/web-landing/src/components/site-header.tsx +39 -0
- icrl_py-0.1.0/icrl-ts/web-landing/src/components/ui/badge.tsx +48 -0
- icrl_py-0.1.0/icrl-ts/web-landing/src/components/ui/button.tsx +64 -0
- icrl_py-0.1.0/icrl-ts/web-landing/src/components/ui/card.tsx +92 -0
- icrl_py-0.1.0/icrl-ts/web-landing/src/lib/utils.ts +6 -0
- icrl_py-0.1.0/icrl-ts/web-landing/tsconfig.json +34 -0
- icrl_py-0.1.0/pyproject.toml +69 -0
- icrl_py-0.1.0/src/icrl/__init__.py +74 -0
- icrl_py-0.1.0/src/icrl/_debug.py +50 -0
- icrl_py-0.1.0/src/icrl/agent.py +226 -0
- icrl_py-0.1.0/src/icrl/cli/__init__.py +5 -0
- icrl_py-0.1.0/src/icrl/cli/ablation.py +491 -0
- icrl_py-0.1.0/src/icrl/cli/config.py +181 -0
- icrl_py-0.1.0/src/icrl/cli/context_compression.py +292 -0
- icrl_py-0.1.0/src/icrl/cli/human_verification.py +162 -0
- icrl_py-0.1.0/src/icrl/cli/main.py +1181 -0
- icrl_py-0.1.0/src/icrl/cli/prompts.py +34 -0
- icrl_py-0.1.0/src/icrl/cli/providers/__init__.py +21 -0
- icrl_py-0.1.0/src/icrl/cli/providers/anthropic_vertex_tool_provider.py +265 -0
- icrl_py-0.1.0/src/icrl/cli/providers/tool_provider.py +198 -0
- icrl_py-0.1.0/src/icrl/cli/runner.py +270 -0
- icrl_py-0.1.0/src/icrl/cli/tool_loop.py +376 -0
- icrl_py-0.1.0/src/icrl/cli/tools/__init__.py +17 -0
- icrl_py-0.1.0/src/icrl/cli/tools/base.py +199 -0
- icrl_py-0.1.0/src/icrl/cli/tools/bash_tool.py +96 -0
- icrl_py-0.1.0/src/icrl/cli/tools/file_tools.py +413 -0
- icrl_py-0.1.0/src/icrl/cli/tools/user_tool.py +56 -0
- icrl_py-0.1.0/src/icrl/cli/tools/web_tools.py +139 -0
- icrl_py-0.1.0/src/icrl/cli/tui.py +584 -0
- icrl_py-0.1.0/src/icrl/curation.py +107 -0
- icrl_py-0.1.0/src/icrl/database.py +704 -0
- icrl_py-0.1.0/src/icrl/embedder.py +146 -0
- icrl_py-0.1.0/src/icrl/harbor/__init__.py +29 -0
- icrl_py-0.1.0/src/icrl/harbor/adapter.py +758 -0
- icrl_py-0.1.0/src/icrl/harbor/agents.py +613 -0
- icrl_py-0.1.0/src/icrl/harbor/docker_workarounds.py +201 -0
- icrl_py-0.1.0/src/icrl/harbor/prompts.py +203 -0
- icrl_py-0.1.0/src/icrl/loop.py +266 -0
- icrl_py-0.1.0/src/icrl/models.py +277 -0
- icrl_py-0.1.0/src/icrl/protocols.py +92 -0
- icrl_py-0.1.0/src/icrl/providers/__init__.py +6 -0
- icrl_py-0.1.0/src/icrl/providers/anthropic_vertex.py +425 -0
- icrl_py-0.1.0/src/icrl/providers/litellm.py +613 -0
- icrl_py-0.1.0/src/icrl/py.typed +0 -0
- icrl_py-0.1.0/src/icrl/retriever.py +99 -0
- icrl_py-0.1.0/src/icrl/validators/__init__.py +14 -0
- icrl_py-0.1.0/src/icrl/validators/code.py +353 -0
- icrl_py-0.1.0/tests/README.md +28 -0
- icrl_py-0.1.0/tests/agent_api_walkthrough.py +194 -0
- icrl_py-0.1.0/tests/database_api_walkthrough.py +159 -0
- icrl_py-0.1.0/tests/test_harbor_coding.py +343 -0
- icrl_py-0.1.0/tests/test_with_mock.py +264 -0
- icrl_py-0.1.0/uv.lock +4093 -0
- icrl_py-0.1.0/vercel.json +12 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# THIS IS AUTOGENERATED. DO NOT EDIT MANUALLY
|
|
2
|
+
version = 1
|
|
3
|
+
name = "icrl"
|
|
4
|
+
|
|
5
|
+
[setup]
|
|
6
|
+
script = '''
|
|
7
|
+
cp /Users/asanshaygupta/Documents/Codes/Stanford/Research/icrl/icrl-ts/web-example/.env.local ./icrl-ts/web-example
|
|
8
|
+
cp /Users/asanshaygupta/Documents/Codes/Stanford/Research/icrl/credentials.json .
|
|
9
|
+
cp /Users/asanshaygupta/Documents/Codes/Stanford/Research/icrl/.env .
|
|
10
|
+
source .env
|
|
11
|
+
|
|
12
|
+
'''
|
icrl_py-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Python-generated files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[oc]
|
|
4
|
+
build/
|
|
5
|
+
dist/
|
|
6
|
+
wheels/
|
|
7
|
+
*.egg-info
|
|
8
|
+
|
|
9
|
+
# Virtual environments
|
|
10
|
+
.venv
|
|
11
|
+
|
|
12
|
+
.env
|
|
13
|
+
data/
|
|
14
|
+
runs/
|
|
15
|
+
harbor_jobs/
|
|
16
|
+
*_db
|
|
17
|
+
jobs/
|
|
18
|
+
|
|
19
|
+
harbor_django_comp
|
|
20
|
+
harbor_*
|
|
21
|
+
|
|
22
|
+
sgicl_v*
|
|
23
|
+
|
|
24
|
+
credentials.json
|
|
25
|
+
debug.log
|
|
26
|
+
icrl-ts/node_modules/
|
|
27
|
+
icrl-ts/web-example/.next/
|
|
28
|
+
icrl-ts/web-example/node_modules/
|
|
29
|
+
.env*
|
|
30
|
+
next-env.d.ts
|
|
31
|
+
tsconfig.tsbuildinfo
|
|
32
|
+
|
|
33
|
+
# ICRL per-project trajectory databases
|
|
34
|
+
.icrl/
|
|
35
|
+
.vercel/
|
|
36
|
+
.vercel
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.12
|
icrl_py-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Asanshay Gupta
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|