neotoma 0.3.0 → 0.3.2
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/README.md +9 -9
- package/dist/actions.js +2 -2
- package/dist/actions.js.map +1 -1
- package/dist/cli/bootstrap.js +0 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +158 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/crypto/auth.js +1 -1
- package/dist/crypto/auth.js.map +1 -1
- package/dist/mcp_ws_bridge.js +1 -1
- package/dist/mcp_ws_bridge.js.map +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/dist/services/field_converters.js +3 -3
- package/dist/services/field_converters.js.map +1 -1
- package/dist/services/field_validation.js +1 -1
- package/dist/services/field_validation.js.map +1 -1
- package/dist/services/mcp_auth.js +1 -1
- package/dist/services/mcp_auth.js.map +1 -1
- package/dist/services/mcp_oauth.js +1 -1
- package/dist/services/mcp_oauth.js.map +1 -1
- package/dist/services/parquet_reader.js +1 -1
- package/dist/services/parquet_reader.js.map +1 -1
- package/dist/services/public_key_registry.js +2 -2
- package/dist/services/public_key_registry.js.map +1 -1
- package/package.json +27 -7
- package/.claude/CLAUDE.md +0 -81
- package/.claude/rules/agent_constraints.md +0 -201
- package/.claude/rules/agent_instructions_sync_rules.md +0 -100
- package/.claude/rules/agent_test_execution.md +0 -358
- package/.claude/rules/autonomous_execution.md +0 -119
- package/.claude/rules/bug_fix_detection.md +0 -145
- package/.claude/rules/bug_learning.md +0 -154
- package/.claude/rules/checkpoint_management.md +0 -194
- package/.claude/rules/configuration_management.md +0 -159
- package/.claude/rules/content_style_enforcement.md +0 -141
- package/.claude/rules/dependency_installation.md +0 -148
- package/.claude/rules/document_loading_order.md +0 -197
- package/.claude/rules/documentation_rules.md +0 -169
- package/.claude/rules/downstream_doc_updates.md +0 -269
- package/.claude/rules/env_check.md +0 -55
- package/.claude/rules/environment_variables_1password.md +0 -315
- package/.claude/rules/environment_variables_env_file.md +0 -124
- package/.claude/rules/feature_unit_detection.md +0 -132
- package/.claude/rules/file_naming.md +0 -34
- package/.claude/rules/git_remote_sync.md +0 -242
- package/.claude/rules/instruction_documentation.md +0 -287
- package/.claude/rules/native_browser_debugging.md +0 -68
- package/.claude/rules/plan_execution_testing.md +0 -101
- package/.claude/rules/plan_format.md +0 -38
- package/.claude/rules/post_build_testing.md +0 -162
- package/.claude/rules/prefer_cli_tools.md +0 -233
- package/.claude/rules/readme_maintenance.md +0 -156
- package/.claude/rules/release_detection.md +0 -95
- package/.claude/rules/release_status_readme_update.md +0 -62
- package/.claude/rules/risk_management.md +0 -170
- package/.claude/rules/security.md +0 -168
- package/.claude/rules/social_media_conventions.md +0 -42
- package/.claude/rules/test_first_workflow.md +0 -344
- package/.claude/rules/worktree_env.md +0 -56
- package/.claude/settings.json +0 -5
- package/.claude/skills/commit.md +0 -762
- package/.claude/skills/create_feature_unit.md +0 -176
- package/.claude/skills/create_release.md +0 -428
- package/.claude/skills/fix_feature_bug.md +0 -93
- package/.claude/skills/pull.md +0 -314
- package/.claude/skills/setup_symlinks.md +0 -228
- package/.codex/config.toml +0 -92
- package/.cursor/commands/analyze.md +0 -574
- package/.cursor/commands/commit.md +0 -768
- package/.cursor/commands/create_feature_unit.md +0 -182
- package/.cursor/commands/create_prototype.md +0 -95
- package/.cursor/commands/create_release.md +0 -434
- package/.cursor/commands/create_rule.md +0 -296
- package/.cursor/commands/debug.md +0 -985
- package/.cursor/commands/final_review.md +0 -97
- package/.cursor/commands/fix_feature_bug.md +0 -99
- package/.cursor/commands/manage_error_debugging.md +0 -186
- package/.cursor/commands/migrate_plans.md +0 -499
- package/.cursor/commands/publish.md +0 -559
- package/.cursor/commands/pull.md +0 -320
- package/.cursor/commands/push.md +0 -259
- package/.cursor/commands/report.md +0 -1506
- package/.cursor/commands/report_error.md +0 -1505
- package/.cursor/commands/run_feature_workflow.md +0 -83
- package/.cursor/commands/setup_commands.md +0 -87
- package/.cursor/commands/setup_symlinks.md +0 -234
- package/.cursor/commands/sync_env_from_1password.md +0 -321
- package/.cursor/commands.json +0 -100
- package/.cursor/environment.json +0 -5
- package/.cursor/mcp.json.template +0 -16
- package/.cursor/plans/agent_skills_analysis_aac0f1b6.plan.md +0 -949
- package/.cursor/plans/agent_trust_framework_eb38ca7d.plan.md +0 -634
- package/.cursor/plans/all-storage-unstructured_provenance_df0b7a8f.plan.md +0 -112
- package/.cursor/plans/automated_error_debugging_cloud_agents.plan.md +0 -526
- package/.cursor/plans/automated_error_debugging_cursor_cli.plan.md +0 -599
- package/.cursor/plans/automated_error_debugging_localhost_clarified.plan.md +0 -510
- package/.cursor/plans/bug_report_and_contribution_client_guidance.plan.md +0 -143
- package/.cursor/plans/convert_1password_sync_to_mcp_343ca61c.plan.md +0 -282
- package/.cursor/plans/debug_pending_errors_command.plan.md +0 -531
- package/.cursor/plans/error_reporting_command_8868f27b.plan.md +0 -255
- package/.cursor/plans/mcp-cli-action-item-01-openapi-core.plan.md +0 -30
- package/.cursor/plans/mcp-cli-action-item-02-openapi-mcp-cli-mapping.plan.md +0 -18
- package/.cursor/plans/mcp-cli-action-item-03-cli-equivalent-logging.plan.md +0 -18
- package/.cursor/plans/mcp-cli-action-item-06-error-taxonomy.plan.md +0 -18
- package/.cursor/plans/mcp-cli-action-item-07-fixture-replay-graphs.plan.md +0 -18
- package/.cursor/plans/mcp-cli-action-item-08-cli-reference-executor.plan.md +0 -18
- package/.cursor/plans/mcp-cli-action-item-09-mcp-tools-atomic.plan.md +0 -18
- package/.cursor/plans/mcp-cli-action-item-10-canonical-walkthrough.plan.md +0 -18
- package/.cursor/plans/mcp-cli-action-item-11-fixtures-expected-outputs.plan.md +0 -18
- package/.cursor/plans/mcp-cli-action-item-12-failure-gallery.plan.md +0 -18
- package/.cursor/plans/mcp_source-path_documentation_5ce48609.plan.md +0 -83
- package/.cursor/plans/me_and_get_authenticated_user_response_updates.plan.md +0 -125
- package/.cursor/plans/multi-llm_provider_support_3fdeb361.plan.md +0 -120
- package/.cursor/plans/plan_migration_command_integrated.plan.md +0 -393
- package/.cursor/plans/schema_icon_enhancements_plan.md +0 -533
- package/.cursor/plans/site-react-tailwind-parity.plan.md +0 -82
- package/.cursor/plans/sources-first-ingestion-v8.plan.md +0 -0
- package/.cursor/plans/sources-first_ingestion_v10_baef2ba2.plan.md +0 -363
- package/.cursor/plans/test_coverage_gap_analysis_9cb70022.plan.md +0 -39
- package/.cursor/port_to_foundation_analysis.md +0 -217
- package/.cursor/rules/agent_constraints.mdc +0 -210
- package/.cursor/rules/autonomous_execution.mdc +0 -128
- package/.cursor/rules/configuration_management.mdc +0 -168
- package/.cursor/rules/cursor_rules_editing.mdc +0 -99
- package/.cursor/rules/cursor_rules_sync.mdc +0 -74
- package/.cursor/rules/cursor_rules_sync_requirement.mdc +0 -156
- package/.cursor/rules/developer_agent_instructions_sync_rules.mdc +0 -109
- package/.cursor/rules/document_loading_order.mdc +0 -206
- package/.cursor/rules/instruction_documentation.mdc +0 -296
- package/.cursor/rules/risk_management.mdc +0 -179
- package/.cursor/rules/security.mdc +0 -177
- package/.cursor/skipped_records/companies_skipped.json +0 -27
- package/.cursor/skipped_records/contacts_skipped.json +0 -23
- package/.cursor/skipped_records/goals_skipped.json +0 -7
- package/.cursor/skipped_records/people_skipped.json +0 -14
- package/.cursor/skipped_records/projects_skipped.json +0 -39
- package/.cursor/worktrees.json +0 -12
- package/.dockerignore +0 -9
- package/.env.example +0 -84
- package/.eslintrc.json +0 -11
- package/.github/workflows/deploy-pages-site.yml +0 -55
- package/.gitmodules +0 -12
- package/.husky/pre-commit +0 -42
- package/.mcp.json +0 -13
- package/.nvmrc +0 -1
- package/.prettierrc.json +0 -7
- package/.vscode/extensions.json +0 -5
- package/.vscode/settings.json +0 -47
- package/CONTRIBUTING.md +0 -23
- package/Dockerfile +0 -28
- package/SECURITY.md +0 -41
- package/components.json +0 -21
- package/cursor_rules_manifest.json +0 -28
- package/dist/__fixtures__/helpers.d.ts +0 -91
- package/dist/__fixtures__/helpers.d.ts.map +0 -1
- package/dist/__fixtures__/helpers.js +0 -384
- package/dist/__fixtures__/helpers.js.map +0 -1
- package/dist/__fixtures__/types.d.ts +0 -285
- package/dist/__fixtures__/types.d.ts.map +0 -1
- package/dist/__fixtures__/types.js +0 -7
- package/dist/__fixtures__/types.js.map +0 -1
- package/dist/__fixtures__/validation.d.ts +0 -45
- package/dist/__fixtures__/validation.d.ts.map +0 -1
- package/dist/__fixtures__/validation.js +0 -311
- package/dist/__fixtures__/validation.js.map +0 -1
- package/dist/config/plaid.d.ts +0 -21
- package/dist/config/plaid.d.ts.map +0 -1
- package/dist/config/plaid.js +0 -38
- package/dist/config/plaid.js.map +0 -1
- package/dist/events/event_emitter.d.ts +0 -24
- package/dist/events/event_emitter.d.ts.map +0 -1
- package/dist/events/event_emitter.js +0 -85
- package/dist/events/event_emitter.js.map +0 -1
- package/dist/events/event_log.d.ts +0 -23
- package/dist/events/event_log.d.ts.map +0 -1
- package/dist/events/event_log.js +0 -77
- package/dist/events/event_log.js.map +0 -1
- package/dist/events/event_schema.d.ts +0 -58
- package/dist/events/event_schema.d.ts.map +0 -1
- package/dist/events/event_schema.js +0 -43
- package/dist/events/event_schema.js.map +0 -1
- package/dist/events/event_validator.d.ts +0 -23
- package/dist/events/event_validator.d.ts.map +0 -1
- package/dist/events/event_validator.js +0 -90
- package/dist/events/event_validator.js.map +0 -1
- package/dist/events/index.d.ts +0 -9
- package/dist/events/index.d.ts.map +0 -1
- package/dist/events/index.js +0 -9
- package/dist/events/index.js.map +0 -1
- package/dist/events/replay.d.ts +0 -27
- package/dist/events/replay.d.ts.map +0 -1
- package/dist/events/replay.js +0 -62
- package/dist/events/replay.js.map +0 -1
- package/dist/hashing/hash_chain.d.ts +0 -31
- package/dist/hashing/hash_chain.d.ts.map +0 -1
- package/dist/hashing/hash_chain.js +0 -52
- package/dist/hashing/hash_chain.js.map +0 -1
- package/dist/integrations/plaid/client.d.ts +0 -53
- package/dist/integrations/plaid/client.d.ts.map +0 -1
- package/dist/integrations/plaid/client.js +0 -224
- package/dist/integrations/plaid/client.js.map +0 -1
- package/dist/integrations/plaid/normalizers.d.ts +0 -26
- package/dist/integrations/plaid/normalizers.d.ts.map +0 -1
- package/dist/integrations/plaid/normalizers.js +0 -166
- package/dist/integrations/plaid/normalizers.js.map +0 -1
- package/dist/integrations/providers/asana.d.ts +0 -9
- package/dist/integrations/providers/asana.d.ts.map +0 -1
- package/dist/integrations/providers/asana.js +0 -62
- package/dist/integrations/providers/asana.js.map +0 -1
- package/dist/integrations/providers/base.d.ts +0 -17
- package/dist/integrations/providers/base.d.ts.map +0 -1
- package/dist/integrations/providers/base.js +0 -64
- package/dist/integrations/providers/base.js.map +0 -1
- package/dist/integrations/providers/facebook.d.ts +0 -9
- package/dist/integrations/providers/facebook.d.ts.map +0 -1
- package/dist/integrations/providers/facebook.js +0 -58
- package/dist/integrations/providers/facebook.js.map +0 -1
- package/dist/integrations/providers/gmail.d.ts +0 -10
- package/dist/integrations/providers/gmail.d.ts.map +0 -1
- package/dist/integrations/providers/gmail.js +0 -67
- package/dist/integrations/providers/gmail.js.map +0 -1
- package/dist/integrations/providers/index.d.ts +0 -6
- package/dist/integrations/providers/index.d.ts.map +0 -1
- package/dist/integrations/providers/index.js +0 -25
- package/dist/integrations/providers/index.js.map +0 -1
- package/dist/integrations/providers/instagram.d.ts +0 -9
- package/dist/integrations/providers/instagram.d.ts.map +0 -1
- package/dist/integrations/providers/instagram.js +0 -47
- package/dist/integrations/providers/instagram.js.map +0 -1
- package/dist/integrations/providers/metadata.d.ts +0 -25
- package/dist/integrations/providers/metadata.d.ts.map +0 -1
- package/dist/integrations/providers/metadata.js +0 -407
- package/dist/integrations/providers/metadata.js.map +0 -1
- package/dist/integrations/providers/types.d.ts +0 -39
- package/dist/integrations/providers/types.d.ts.map +0 -1
- package/dist/integrations/providers/types.js +0 -2
- package/dist/integrations/providers/types.js.map +0 -1
- package/dist/integrations/providers/x.d.ts +0 -9
- package/dist/integrations/providers/x.d.ts.map +0 -1
- package/dist/integrations/providers/x.js +0 -78
- package/dist/integrations/providers/x.js.map +0 -1
- package/dist/reducers/record_reducer.d.ts +0 -25
- package/dist/reducers/record_reducer.d.ts.map +0 -1
- package/dist/reducers/record_reducer.js +0 -93
- package/dist/reducers/record_reducer.js.map +0 -1
- package/dist/reducers/reducer_registry.d.ts +0 -47
- package/dist/reducers/reducer_registry.d.ts.map +0 -1
- package/dist/reducers/reducer_registry.js +0 -82
- package/dist/reducers/reducer_registry.js.map +0 -1
- package/dist/repositories/db/event_repo.d.ts +0 -14
- package/dist/repositories/db/event_repo.d.ts.map +0 -1
- package/dist/repositories/db/event_repo.js +0 -67
- package/dist/repositories/db/event_repo.js.map +0 -1
- package/dist/repositories/db/state_repo.d.ts +0 -14
- package/dist/repositories/db/state_repo.d.ts.map +0 -1
- package/dist/repositories/db/state_repo.js +0 -61
- package/dist/repositories/db/state_repo.js.map +0 -1
- package/dist/repositories/file/event_repo.d.ts +0 -18
- package/dist/repositories/file/event_repo.d.ts.map +0 -1
- package/dist/repositories/file/event_repo.js +0 -148
- package/dist/repositories/file/event_repo.js.map +0 -1
- package/dist/repositories/file/state_repo.d.ts +0 -21
- package/dist/repositories/file/state_repo.d.ts.map +0 -1
- package/dist/repositories/file/state_repo.js +0 -89
- package/dist/repositories/file/state_repo.js.map +0 -1
- package/dist/repositories/sqlite/supabase_adapter.d.ts +0 -135
- package/dist/repositories/sqlite/supabase_adapter.d.ts.map +0 -1
- package/dist/repositories/sqlite/supabase_adapter.js +0 -810
- package/dist/repositories/sqlite/supabase_adapter.js.map +0 -1
- package/dist/services/connectors.d.ts +0 -89
- package/dist/services/connectors.d.ts.map +0 -1
- package/dist/services/connectors.js +0 -248
- package/dist/services/connectors.js.map +0 -1
- package/dist/services/event_generation.d.ts +0 -37
- package/dist/services/event_generation.d.ts.map +0 -1
- package/dist/services/event_generation.js +0 -236
- package/dist/services/event_generation.js.map +0 -1
- package/dist/services/extraction/rules.d.ts +0 -26
- package/dist/services/extraction/rules.d.ts.map +0 -1
- package/dist/services/extraction/rules.js +0 -691
- package/dist/services/extraction/rules.js.map +0 -1
- package/dist/services/file_analysis.d.ts +0 -38
- package/dist/services/file_analysis.d.ts.map +0 -1
- package/dist/services/file_analysis.js +0 -325
- package/dist/services/file_analysis.js.map +0 -1
- package/dist/services/graph_builder.d.ts +0 -51
- package/dist/services/graph_builder.d.ts.map +0 -1
- package/dist/services/graph_builder.js +0 -279
- package/dist/services/graph_builder.js.map +0 -1
- package/dist/services/importers.d.ts +0 -28
- package/dist/services/importers.d.ts.map +0 -1
- package/dist/services/importers.js +0 -174
- package/dist/services/importers.js.map +0 -1
- package/dist/services/observation_ingestion.d.ts +0 -26
- package/dist/services/observation_ingestion.d.ts.map +0 -1
- package/dist/services/observation_ingestion.js +0 -364
- package/dist/services/observation_ingestion.js.map +0 -1
- package/dist/services/payload_compiler.d.ts +0 -36
- package/dist/services/payload_compiler.d.ts.map +0 -1
- package/dist/services/payload_compiler.js +0 -121
- package/dist/services/payload_compiler.js.map +0 -1
- package/dist/services/payload_identity.d.ts +0 -35
- package/dist/services/payload_identity.d.ts.map +0 -1
- package/dist/services/payload_identity.js +0 -101
- package/dist/services/payload_identity.js.map +0 -1
- package/dist/services/payload_schema.d.ts +0 -104
- package/dist/services/payload_schema.d.ts.map +0 -1
- package/dist/services/payload_schema.js +0 -46
- package/dist/services/payload_schema.js.map +0 -1
- package/dist/services/plaid_sync.d.ts +0 -77
- package/dist/services/plaid_sync.d.ts.map +0 -1
- package/dist/services/plaid_sync.js +0 -273
- package/dist/services/plaid_sync.js.map +0 -1
- package/dist/services/record_comparison.d.ts +0 -29
- package/dist/services/record_comparison.d.ts.map +0 -1
- package/dist/services/record_comparison.js +0 -84
- package/dist/services/record_comparison.js.map +0 -1
- package/dist/services/records.d.ts +0 -31
- package/dist/services/records.d.ts.map +0 -1
- package/dist/services/records.js +0 -184
- package/dist/services/records.js.map +0 -1
- package/dist/services/search.d.ts +0 -15
- package/dist/services/search.d.ts.map +0 -1
- package/dist/services/search.js +0 -81
- package/dist/services/search.js.map +0 -1
- package/dist/services/summary.d.ts +0 -5
- package/dist/services/summary.d.ts.map +0 -1
- package/dist/services/summary.js +0 -118
- package/dist/services/summary.js.map +0 -1
- package/docs/NEOTOMA_MANIFEST.md +0 -152
- package/docs/api/rest_api.md +0 -466
- package/docs/architecture/agentic_portfolio_overview.md +0 -99
- package/docs/architecture/agentic_wallet_overview.md +0 -93
- package/docs/architecture/architectural_decisions.md +0 -462
- package/docs/architecture/architecture.md +0 -842
- package/docs/architecture/blockchain_readiness_assessment.md +0 -248
- package/docs/architecture/consistency.md +0 -539
- package/docs/architecture/conversational_ux_architecture.md +0 -240
- package/docs/architecture/determinism.md +0 -762
- package/docs/architecture/idempotence_pattern.md +0 -139
- package/docs/architecture/mcp_actions_assessment.md +0 -182
- package/docs/architecture/ner_vs_schema_first_extraction.md +0 -280
- package/docs/architecture/schema_expansion.md +0 -260
- package/docs/architecture/schema_handling.md +0 -209
- package/docs/architecture/source_material_model.md +0 -281
- package/docs/assets/neotoma_banner.png +0 -0
- package/docs/conventions/TEST_EXECUTION_IMPROVEMENTS.md +0 -205
- package/docs/conventions/always_on_rules_review.md +0 -66
- package/docs/conventions/code_conventions_implementation.md +0 -111
- package/docs/conventions/code_conventions_plan.md +0 -124
- package/docs/conventions/code_review_summary.md +0 -96
- package/docs/conventions/documentation_standards.md +0 -104
- package/docs/conventions/estimation_methodology.md +0 -146
- package/docs/conventions/file_naming_migration_status.md +0 -94
- package/docs/conventions/readme_generation_framework.md +0 -230
- package/docs/conventions/time_tracking_template.md +0 -60
- package/docs/conventions/writing_style_guide.md +0 -252
- package/docs/developer/agent_cli_configuration.md +0 -140
- package/docs/developer/agent_instructions_sync_rules.mdc +0 -97
- package/docs/developer/canonical_walkthrough.md +0 -137
- package/docs/developer/cli_agent_instructions.md +0 -141
- package/docs/developer/cli_overview.md +0 -207
- package/docs/developer/cli_reference.md +0 -518
- package/docs/developer/developer_preview_launch_checklist.md +0 -128
- package/docs/developer/developer_preview_storage.md +0 -35
- package/docs/developer/developer_release_manual_test_checklist.md +0 -209
- package/docs/developer/development_workflow.md +0 -308
- package/docs/developer/environment/CONNECTOR_SECRET_KEY_SETUP.md +0 -96
- package/docs/developer/environment/DEV_CONNECTOR_SECRET_KEY_EXPLANATION.md +0 -80
- package/docs/developer/environment/ENV_MAPPINGS_STATUS.md +0 -86
- package/docs/developer/environment/ENV_VAR_NAMING_STRATEGY.md +0 -145
- package/docs/developer/environment/MIGRATION_TO_SINGLE_VAR_NAMES.md +0 -89
- package/docs/developer/environment/QUICK_START_1PASSWORD.md +0 -126
- package/docs/developer/environment/README.md +0 -27
- package/docs/developer/environment/SETUP_ENV_MAPPINGS.md +0 -256
- package/docs/developer/environment_distinction_audit.md +0 -43
- package/docs/developer/fix_doc_inconsistencies_plan.md +0 -63
- package/docs/developer/getting_started.md +0 -100
- package/docs/developer/import_interpretation_debug.md +0 -69
- package/docs/developer/launchd_dev_servers.md +0 -51
- package/docs/developer/launchd_watch_build.md +0 -37
- package/docs/developer/mcp/instructions.md +0 -71
- package/docs/developer/mcp/invalid_connection_id_handling.md +0 -181
- package/docs/developer/mcp/tool_descriptions.yaml +0 -41
- package/docs/developer/mcp/unauthenticated.md +0 -30
- package/docs/developer/mcp_chatgpt_setup.md +0 -159
- package/docs/developer/mcp_claude_code_setup.md +0 -519
- package/docs/developer/mcp_https_testing.md +0 -178
- package/docs/developer/mcp_https_testing_status.md +0 -130
- package/docs/developer/mcp_https_tunnel_status.md +0 -147
- package/docs/developer/mcp_oauth_migration_guide.md +0 -196
- package/docs/developer/mcp_overview.md +0 -145
- package/docs/developer/mcp_server_examples_from_cursor_docs.md +0 -485
- package/docs/developer/observation_architecture_documentation_integration.md +0 -368
- package/docs/developer/release_orchestrator.md +0 -197
- package/docs/developer/repository_cleanup_plan.md +0 -87
- package/docs/developer/resolved_blockers.md +0 -49
- package/docs/developer/schema_initialization.md +0 -182
- package/docs/developer/secrets/README.md +0 -15
- package/docs/developer/secrets/secrets_architecture.md +0 -95
- package/docs/developer/secrets/secrets_manager_value.md +0 -53
- package/docs/developer/secrets/secrets_secure_approach.md +0 -103
- package/docs/developer/secrets/secrets_setup.md +0 -116
- package/docs/developer/shared_components_submodule_setup.md +0 -273
- package/docs/developer/spec_compliance_validation_system.md +0 -261
- package/docs/developer/test_coverage_gap_analysis_plan.md +0 -36
- package/docs/developer/tunnels.md +0 -327
- package/docs/developer/vite_troubleshooting.md +0 -111
- package/docs/doc_dependencies.yaml +0 -497
- package/docs/examples/schema_breaking_change_reconciliation.md +0 -515
- package/docs/feature_units/completed/FU-050/FU-050_spec.md +0 -341
- package/docs/feature_units/completed/FU-050/manifest.yaml +0 -330
- package/docs/feature_units/completed/FU-051/FU-051_spec.md +0 -173
- package/docs/feature_units/completed/FU-051/manifest.yaml +0 -229
- package/docs/feature_units/completed/FU-052/FU-052_spec.md +0 -158
- package/docs/feature_units/completed/FU-052/manifest.yaml +0 -188
- package/docs/feature_units/completed/FU-053/FU-053_spec.md +0 -144
- package/docs/feature_units/completed/FU-053/manifest.yaml +0 -145
- package/docs/feature_units/completed/FU-054/FU-054_spec.md +0 -144
- package/docs/feature_units/completed/FU-054/manifest.yaml +0 -139
- package/docs/feature_units/completed/FU-702/billing_spec.md +0 -413
- package/docs/feature_units/completed/FU-702/manifest.yaml +0 -418
- package/docs/feature_units/standards/DISCOVERY_CAGAN_ALIGNMENT.md +0 -214
- package/docs/feature_units/standards/creating_feature_units.md +0 -385
- package/docs/feature_units/standards/discovery_process.md +0 -821
- package/docs/feature_units/standards/error_protocol.md +0 -60
- package/docs/feature_units/standards/execution_instructions.md +0 -87
- package/docs/feature_units/standards/feature_unit_spec.md +0 -325
- package/docs/feature_units/standards/integration_test_execution.md +0 -127
- package/docs/feature_units/standards/manifest_template.yaml +0 -370
- package/docs/feature_units/standards/model_selection.md +0 -207
- package/docs/feature_units/standards/multi_agent_orchestration.md +0 -411
- package/docs/feature_units/standards/release_report_generation.md +0 -448
- package/docs/feature_units/standards/release_report_spec.md +0 -444
- package/docs/feature_units/standards/release_report_template.md +0 -76
- package/docs/feature_units/standards/spec_compliance_validation.md +0 -147
- package/docs/feature_units/standards/worker_agent_template.md +0 -191
- package/docs/foundation/ai_safety.md +0 -10
- package/docs/foundation/composability_analysis.md +0 -308
- package/docs/foundation/core_identity.md +0 -50
- package/docs/foundation/documentation_design_system.md +0 -505
- package/docs/foundation/entity_resolution.md +0 -34
- package/docs/foundation/layered_architecture.md +0 -99
- package/docs/foundation/mmry_comparison.md +0 -176
- package/docs/foundation/philosophy.md +0 -103
- package/docs/foundation/problem_statement.md +0 -41
- package/docs/foundation/product_positioning.md +0 -69
- package/docs/foundation/product_principles.md +0 -18
- package/docs/foundation/quality_requirements.md +0 -68
- package/docs/foundation/timeline_events.md +0 -19
- package/docs/foundation/user_workflows.md +0 -38
- package/docs/implementation/PARQUET_MCP_SERVER_FIXES.md +0 -373
- package/docs/implementation/PARQUET_SUPPORT_IMPLEMENTATION.md +0 -207
- package/docs/infrastructure/deployment.md +0 -372
- package/docs/legal/README.md +0 -51
- package/docs/legal/compliance.md +0 -854
- package/docs/legal/privacy_policy.md +0 -114
- package/docs/legal/privacy_policy_changelog.md +0 -49
- package/docs/legal/terms_of_service.md +0 -185
- package/docs/legal/terms_of_service_changelog.md +0 -62
- package/docs/migration/llm_extraction_removal.md +0 -387
- package/docs/migration/llm_interpretation_docs_update.md +0 -130
- package/docs/observability/logging.md +0 -50
- package/docs/observability/metrics_standard.md +0 -38
- package/docs/observability/tracing.md +0 -41
- package/docs/operations/debugging/README.md +0 -11
- package/docs/operations/debugging/error_debug_instructions.md +0 -55
- package/docs/operations/health_check.md +0 -73
- package/docs/operations/runbook.md +0 -88
- package/docs/prompts/llm_extraction_system_prompt.md +0 -31
- package/docs/proposals/IMPLEMENTATION_SUMMARY.md +0 -198
- package/docs/proposals/MIGRATION_REPORT.md +0 -65
- package/docs/proposals/PROPOSAL_TEMPLATE.md +0 -58
- package/docs/proposals/README.md +0 -57
- package/docs/proposals/agent-trust-framework.md +0 -621
- package/docs/proposals/conversation_turn_identity_reverts_forks.md +0 -144
- package/docs/proposals/document-v023-release.md +0 -898
- package/docs/proposals/iterative_chat_store_mcp_instructions.md +0 -155
- package/docs/proposals/llm_sampling_parameters_interpretation_config.md +0 -196
- package/docs/proposals/mcp-cli-action-items.md +0 -207
- package/docs/proposals/plan-migration-command-integrated-with-commit.md +0 -386
- package/docs/proposals/sources-first-ingestion-v10.md +0 -348
- package/docs/proposals/test-coverage-gap-analysis.md +0 -26
- package/docs/prototypes/PROTOTYPE_QUICKSTART.md +0 -56
- package/docs/prototypes/README.md +0 -74
- package/docs/reference/error_codes.md +0 -223
- package/docs/releases/archived/aspirational/README.md +0 -57
- package/docs/releases/archived/aspirational/v0.4.0/manifest.yaml +0 -94
- package/docs/releases/archived/aspirational/v0.4.0/release_plan.md +0 -51
- package/docs/releases/archived/aspirational/v0.5.0/manifest.yaml +0 -152
- package/docs/releases/archived/aspirational/v0.5.0/release_plan.md +0 -236
- package/docs/releases/archived/aspirational/v0.9.0/README.md +0 -78
- package/docs/releases/archived/aspirational/v0.9.0/manifest.yaml +0 -111
- package/docs/releases/archived/aspirational/v0.9.0/release_plan.md +0 -238
- package/docs/releases/archived/aspirational/v0.9.0/status.md +0 -89
- package/docs/releases/archived/aspirational/v1.0.0/UI_REFACTORING_PLAN.md +0 -239
- package/docs/releases/archived/aspirational/v1.0.0/acceptance_criteria.md +0 -88
- package/docs/releases/archived/aspirational/v1.0.0/approach_comparison.md +0 -558
- package/docs/releases/archived/aspirational/v1.0.0/architectural_impact_chat_ui.md +0 -195
- package/docs/releases/archived/aspirational/v1.0.0/blog_post_update_directives.md +0 -491
- package/docs/releases/archived/aspirational/v1.0.0/business_viability_discovery_plan.md +0 -135
- package/docs/releases/archived/aspirational/v1.0.0/compliance_reports/FU-100_compliance.md +0 -23
- package/docs/releases/archived/aspirational/v1.0.0/compliance_reports/FU-101_compliance.md +0 -23
- package/docs/releases/archived/aspirational/v1.0.0/compliance_reports/FU-102_compliance.md +0 -23
- package/docs/releases/archived/aspirational/v1.0.0/compliance_reports/FU-103_compliance.md +0 -23
- package/docs/releases/archived/aspirational/v1.0.0/compliance_reports/FU-105_compliance.md +0 -23
- package/docs/releases/archived/aspirational/v1.0.0/continuous_discovery_log.md +0 -77
- package/docs/releases/archived/aspirational/v1.0.0/continuous_discovery_plan.md +0 -145
- package/docs/releases/archived/aspirational/v1.0.0/cross_platform_signal_detection.md +0 -181
- package/docs/releases/archived/aspirational/v1.0.0/deployment_strategy.md +0 -115
- package/docs/releases/archived/aspirational/v1.0.0/discovery_checklist.md +0 -195
- package/docs/releases/archived/aspirational/v1.0.0/discovery_filtering_criteria.md +0 -197
- package/docs/releases/archived/aspirational/v1.0.0/discovery_filtering_keywords.md +0 -143
- package/docs/releases/archived/aspirational/v1.0.0/discovery_lead_sourcing_tools.md +0 -438
- package/docs/releases/archived/aspirational/v1.0.0/discovery_plan.md +0 -185
- package/docs/releases/archived/aspirational/v1.0.0/execution_schedule.md +0 -130
- package/docs/releases/archived/aspirational/v1.0.0/feasibility_validation_plan.md +0 -116
- package/docs/releases/archived/aspirational/v1.0.0/handle_registration.md +0 -263
- package/docs/releases/archived/aspirational/v1.0.0/implementation_logs/FU-100_implementation_log.md +0 -51
- package/docs/releases/archived/aspirational/v1.0.0/implementation_logs/FU-101_implementation_log.md +0 -51
- package/docs/releases/archived/aspirational/v1.0.0/implementation_logs/FU-102_implementation_log.md +0 -51
- package/docs/releases/archived/aspirational/v1.0.0/implementation_logs/FU-103_implementation_log.md +0 -51
- package/docs/releases/archived/aspirational/v1.0.0/implementation_logs/FU-105_implementation_log.md +0 -51
- package/docs/releases/archived/aspirational/v1.0.0/manifest.yaml +0 -160
- package/docs/releases/archived/aspirational/v1.0.0/marketing_agent_instructions.md +0 -209
- package/docs/releases/archived/aspirational/v1.0.0/marketing_automation_implementation.md +0 -996
- package/docs/releases/archived/aspirational/v1.0.0/marketing_automation_plan.md +0 -291
- package/docs/releases/archived/aspirational/v1.0.0/marketing_dogfooding_analysis.md +0 -295
- package/docs/releases/archived/aspirational/v1.0.0/marketing_metrics_plan.md +0 -120
- package/docs/releases/archived/aspirational/v1.0.0/marketing_plan.md +0 -280
- package/docs/releases/archived/aspirational/v1.0.0/marketing_segments_plan.md +0 -128
- package/docs/releases/archived/aspirational/v1.0.0/participant_recruitment_log.md +0 -392
- package/docs/releases/archived/aspirational/v1.0.0/post_launch_marketing_plan.md +0 -252
- package/docs/releases/archived/aspirational/v1.0.0/pre_launch_marketing_plan.md +0 -748
- package/docs/releases/archived/aspirational/v1.0.0/pre_mortem.md +0 -122
- package/docs/releases/archived/aspirational/v1.0.0/subscription_detection_strategy.md +0 -160
- package/docs/releases/archived/aspirational/v1.0.0/usability_discovery_plan.md +0 -115
- package/docs/releases/archived/aspirational/v1.0.0/value_discovery_plan.md +0 -279
- package/docs/releases/archived/aspirational/v1.0.0/visibility_timing_analysis.md +0 -402
- package/docs/releases/archived/aspirational/v2.0.0/status.md +0 -120
- package/docs/releases/archived/aspirational/v2.1.0/manifest.yaml +0 -469
- package/docs/releases/archived/aspirational/v2.2.0/manifest.yaml +0 -165
- package/docs/releases/archived/aspirational/v2.2.0/status.md +0 -283
- package/docs/releases/compliance_reports/all_fus_compliance_summary.md +0 -112
- package/docs/releases/in_progress/v0.2.0/agent_status.json +0 -420
- package/docs/releases/in_progress/v0.2.0/status.md +0 -90
- package/docs/releases/v0.1.0/agent_status.json +0 -242
- package/docs/releases/v0.1.0/agent_status.json.example +0 -76
- package/docs/releases/v0.1.0/compliance_reports/FU-000_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-002_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-050_compliance.md +0 -59
- package/docs/releases/v0.1.0/compliance_reports/FU-051_compliance.md +0 -39
- package/docs/releases/v0.1.0/compliance_reports/FU-052_compliance.md +0 -44
- package/docs/releases/v0.1.0/compliance_reports/FU-053_compliance.md +0 -25
- package/docs/releases/v0.1.0/compliance_reports/FU-054_compliance.md +0 -31
- package/docs/releases/v0.1.0/compliance_reports/FU-055_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-056_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-057_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-058_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-059_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-061_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-100_compliance.md +0 -97
- package/docs/releases/v0.1.0/compliance_reports/FU-104_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-200_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-201_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-202_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-203_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-204_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-205_compliance.md +0 -23
- package/docs/releases/v0.1.0/compliance_reports/FU-206_compliance.md +0 -23
- package/docs/releases/v0.1.0/execution_schedule.md +0 -174
- package/docs/releases/v0.1.0/fu_spec_status.md +0 -83
- package/docs/releases/v0.1.0/implementation_logs/FU-000_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-002_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-050_implementation_log.md +0 -111
- package/docs/releases/v0.1.0/implementation_logs/FU-051_implementation_log.md +0 -91
- package/docs/releases/v0.1.0/implementation_logs/FU-052_implementation_log.md +0 -81
- package/docs/releases/v0.1.0/implementation_logs/FU-053_implementation_log.md +0 -71
- package/docs/releases/v0.1.0/implementation_logs/FU-054_implementation_log.md +0 -71
- package/docs/releases/v0.1.0/implementation_logs/FU-055_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-056_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-057_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-058_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-059_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-061_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-100_implementation_log.md +0 -251
- package/docs/releases/v0.1.0/implementation_logs/FU-104_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-200_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-201_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-202_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-203_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-204_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-205_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/implementation_logs/FU-206_implementation_log.md +0 -51
- package/docs/releases/v0.1.0/integration_tests.md +0 -316
- package/docs/releases/v0.1.0/manifest.yaml +0 -291
- package/docs/releases/v0.1.0/mcp_actions_status.md +0 -101
- package/docs/releases/v0.1.0/release_plan.md +0 -196
- package/docs/releases/v0.1.0/status.md +0 -148
- package/docs/releases/v0.1.0/test_coverage_setup_notes.md +0 -39
- package/docs/releases/v0.1.1/manifest.yaml +0 -153
- package/docs/releases/v0.2.0/status.md +0 -167
- package/docs/releases/v0.2.1/acceptance_criteria.md +0 -200
- package/docs/releases/v0.2.1/execution_schedule.md +0 -114
- package/docs/releases/v0.2.1/feature_unit_overview.md +0 -246
- package/docs/releases/v0.2.1/integration_tests.md +0 -281
- package/docs/releases/v0.2.1/manifest.yaml +0 -141
- package/docs/releases/v0.2.1/release_plan.md +0 -211
- package/docs/releases/v0.2.1/status.md +0 -106
- package/docs/releases/v0.2.15/README.md +0 -79
- package/docs/releases/v0.2.15/migrations/01_add_source_graph_edges.sql +0 -109
- package/docs/releases/v0.2.15/migrations/02_drop_legacy_tables.sql +0 -130
- package/docs/releases/v0.2.2/execution_schedule.md +0 -123
- package/docs/releases/v0.2.2/integration_tests.md +0 -258
- package/docs/releases/v0.2.2/manifest.yaml +0 -108
- package/docs/releases/v0.2.2/release_plan.md +0 -246
- package/docs/releases/v0.2.2/status.md +0 -113
- package/docs/releases/v0.2.3/agent_skills_alignment.md +0 -738
- package/docs/releases/v0.2.3/enhancements_summary.md +0 -309
- package/docs/releases/v0.2.3/integration_guide.md +0 -3400
- package/docs/releases/v0.2.3/manifest.yaml +0 -212
- package/docs/releases/v0.2.3/mcp_actions.md +0 -491
- package/docs/releases/v0.2.3/plan_completion_review.md +0 -410
- package/docs/releases/v0.2.3/release_overview.md +0 -13
- package/docs/releases/v0.2.3/schema_extensions/agent_decision.md +0 -311
- package/docs/releases/v0.2.3/schema_extensions/agent_session.md +0 -464
- package/docs/releases/v0.2.3/schema_extensions/architectural_decision.md +0 -390
- package/docs/releases/v0.2.3/schema_extensions/codebase_entity.md +0 -404
- package/docs/releases/v0.2.3/schema_extensions/feature_unit.md +0 -307
- package/docs/releases/v0.2.3/schema_extensions/release.md +0 -338
- package/docs/releases/v0.2.3/schema_extensions/validation_result.md +0 -377
- package/docs/releases/v0.2.3/spec.md +0 -569
- package/docs/releases/v0.3.0/manifest.yaml +0 -77
- package/docs/releases/v0.3.0/migrations/01_add_source_graph_edges.sql +0 -110
- package/docs/releases/v0.3.0/migrations/02_drop_legacy_tables.sql +0 -131
- package/docs/releases/v0.3.0/status.md +0 -193
- package/docs/reports/AUTO_ENHANCEMENT_TEST_RESULTS.md +0 -51
- package/docs/reports/AUTO_ENHANCEMENT_TEST_SUMMARY.md +0 -64
- package/docs/reports/BIGINT_SERIALIZATION_DEBUG.md +0 -75
- package/docs/reports/BUG_LEARNING_PROTOCOL_ESTABLISHED.md +0 -179
- package/docs/reports/CONSOLE_LOG_MCP_PROTOCOL_FIX.md +0 -58
- package/docs/reports/CRYPTO_TRANSACTION_DISCREPANCY_RESOLUTION.md +0 -108
- package/docs/reports/CRYPTO_TRANSACTION_SIDE_BY_SIDE_COMPARISON.md +0 -165
- package/docs/reports/FAILING_TESTS_ANALYSIS.md +0 -140
- package/docs/reports/FAILING_TESTS_SUMMARY.md +0 -106
- package/docs/reports/FINAL_PARQUET_COMPARISON.md +0 -226
- package/docs/reports/FINAL_TEST_STATUS.md +0 -145
- package/docs/reports/LEGACY_REMOVAL_SUMMARY.md +0 -108
- package/docs/reports/MCP_ACTIONS_SUMMARY.md +0 -329
- package/docs/reports/MCP_ACTION_TEST_COVERAGE.md +0 -132
- package/docs/reports/MCP_SPEC_COMPARISON.md +0 -306
- package/docs/reports/MCP_SPEC_COMPARISON_UPDATED.md +0 -247
- package/docs/reports/MCP_SPEC_VOCABULARY_CONFORMANCE.md +0 -220
- package/docs/reports/MCP_TEST_SUITE_IMPLEMENTATION.md +0 -180
- package/docs/reports/MCP_TEST_SUITE_RESULTS.md +0 -182
- package/docs/reports/PARQUET_MCP_BUG_REPORT.md +0 -70
- package/docs/reports/PARQUET_MCP_STORAGE_COMPLETE.md +0 -214
- package/docs/reports/PARQUET_SAMPLE_FILES_CREATED.md +0 -49
- package/docs/reports/PARQUET_STORAGE_SUCCESS.md +0 -263
- package/docs/reports/PARQUET_VS_NEOTOMA_COMPARISON.md +0 -241
- package/docs/reports/REIMPORT_TASKS_BLOCKER.md +0 -50
- package/docs/reports/SAMPLE_FILE_STRUCTURE_UPDATE.md +0 -68
- package/docs/reports/SAMPLE_PARQUET_IMPORT_TEST_RESULTS.md +0 -91
- package/docs/reports/SCHEMA_ENHANCEMENT_STATUS.md +0 -84
- package/docs/reports/SCHEMA_ENHANCEMENT_TEST_RESULTS.md +0 -78
- package/docs/reports/TASK_RELOAD_BLOCKER.md +0 -40
- package/docs/reports/TEST_FIXES_SUMMARY.md +0 -96
- package/docs/reports/VOCABULARY_CONFORMANCE_REVIEW.md +0 -177
- package/docs/reports/WHY_TESTS_MISSED_BIGINT_ISSUE.md +0 -144
- package/docs/reports/beyond_rag_agent_memory_neotoma_architecture_report.md +0 -103
- package/docs/reports/dhh_clankers_with_claws_neotoma_report.md +0 -102
- package/docs/reports/dr_cintas_pageindex_structure_over_embeddings_report.md +0 -77
- package/docs/reports/failure_gallery.md +0 -97
- package/docs/reports/fixture_expansion_summary.md +0 -204
- package/docs/reports/mcp_action_names_review.md +0 -131
- package/docs/reports/mcp_cli_action_items_fidelity_report.md +0 -189
- package/docs/reports/neotoma_pdf_interpreted_as_note_investigation_2026_02_23.md +0 -89
- package/docs/reports/plan_execution_changes_report.md +0 -122
- package/docs/reports/schema_distinctions.md +0 -210
- package/docs/reports/schema_redundancy_analysis.md +0 -304
- package/docs/specs/FUNCTIONAL_REQUIREMENTS.md +0 -160
- package/docs/specs/GENERAL_REQUIREMENTS.md +0 -30
- package/docs/specs/ICP_PRIORITY_TIERS.md +0 -132
- package/docs/specs/ICP_PROFILES.md +0 -2345
- package/docs/specs/INTERNAL_MCP_RELEASE.md +0 -300
- package/docs/specs/MANIFEST_ALIGNMENT_SUMMARY.md +0 -162
- package/docs/specs/MCP_SPEC.md +0 -2275
- package/docs/specs/METRICS_REQUIREMENTS.md +0 -386
- package/docs/specs/MVP_EXECUTION_PLAN.md +0 -956
- package/docs/specs/MVP_FEATURE_UNITS.md +0 -1821
- package/docs/specs/MVP_OVERVIEW.md +0 -184
- package/docs/specs/NONFUNCTIONAL_REQUIREMENTS.md +0 -98
- package/docs/specs/ONBOARDING_SPEC.md +0 -591
- package/docs/specs/PARQUET_MCP_RESOURCES_SPEC.md +0 -328
- package/docs/specs/TEST_PLAN.md +0 -116
- package/docs/specs/UI_SPEC.md +0 -93
- package/docs/subsystems/accessibility.md +0 -48
- package/docs/subsystems/auth.md +0 -170
- package/docs/subsystems/deletion.md +0 -494
- package/docs/subsystems/entity_merge.md +0 -300
- package/docs/subsystems/errors.md +0 -82
- package/docs/subsystems/events.md +0 -50
- package/docs/subsystems/i18n.md +0 -42
- package/docs/subsystems/ingestion/ingestion.md +0 -772
- package/docs/subsystems/ingestion/state_machines.md +0 -49
- package/docs/subsystems/observation_architecture.md +0 -379
- package/docs/subsystems/privacy.md +0 -71
- package/docs/subsystems/record_types.md +0 -753
- package/docs/subsystems/reducer.md +0 -436
- package/docs/subsystems/relationships.md +0 -455
- package/docs/subsystems/schema.md +0 -1213
- package/docs/subsystems/schema_registry.md +0 -588
- package/docs/subsystems/schema_snapshots/.gitkeep +0 -6
- package/docs/subsystems/schema_snapshots/README.md +0 -209
- package/docs/subsystems/schema_snapshots/account/v1.0.json +0 -52
- package/docs/subsystems/schema_snapshots/address/v1.0.json +0 -79
- package/docs/subsystems/schema_snapshots/agent_message/v1.0.json +0 -96
- package/docs/subsystems/schema_snapshots/balance/v1.0.json +0 -64
- package/docs/subsystems/schema_snapshots/company/v1.0.json +0 -86
- package/docs/subsystems/schema_snapshots/contact/v1.0.json +0 -68
- package/docs/subsystems/schema_snapshots/contact/v1.1.json +0 -112
- package/docs/subsystems/schema_snapshots/contract/v1.0.json +0 -48
- package/docs/subsystems/schema_snapshots/conversation/v1.0.json +0 -102
- package/docs/subsystems/schema_snapshots/crypto_transaction/v1.0.json +0 -76
- package/docs/subsystems/schema_snapshots/email/v1.0.json +0 -87
- package/docs/subsystems/schema_snapshots/event/v1.0.json +0 -79
- package/docs/subsystems/schema_snapshots/exercise/v1.0.json +0 -72
- package/docs/subsystems/schema_snapshots/fixed_cost/v1.0.json +0 -112
- package/docs/subsystems/schema_snapshots/flow/v1.0.json +0 -84
- package/docs/subsystems/schema_snapshots/goal/v1.0.json +0 -71
- package/docs/subsystems/schema_snapshots/holding/v1.0.json +0 -75
- package/docs/subsystems/schema_snapshots/income/v1.0.json +0 -68
- package/docs/subsystems/schema_snapshots/liability/v1.0.json +0 -60
- package/docs/subsystems/schema_snapshots/location/v1.0.json +0 -79
- package/docs/subsystems/schema_snapshots/meal/v1.0.json +0 -68
- package/docs/subsystems/schema_snapshots/message/v1.0.json +0 -72
- package/docs/subsystems/schema_snapshots/note/v1.0.json +0 -64
- package/docs/subsystems/schema_snapshots/order/v1.0.json +0 -72
- package/docs/subsystems/schema_snapshots/person/v1.0.json +0 -86
- package/docs/subsystems/schema_snapshots/project/v1.0.json +0 -75
- package/docs/subsystems/schema_snapshots/property/v1.0.json +0 -64
- package/docs/subsystems/schema_snapshots/purchase/v1.0.json +0 -75
- package/docs/subsystems/schema_snapshots/relationship/v1.0.json +0 -63
- package/docs/subsystems/schema_snapshots/task/v1.0.json +0 -91
- package/docs/subsystems/schema_snapshots/tax_event/v1.0.json +0 -72
- package/docs/subsystems/schema_snapshots/tax_filing/v1.0.json +0 -83
- package/docs/subsystems/schema_snapshots/transaction/v1.0.json +0 -40
- package/docs/subsystems/schema_snapshots/transfer/v1.0.json +0 -76
- package/docs/subsystems/schema_snapshots/wallet/v1.0.json +0 -68
- package/docs/subsystems/search/search.md +0 -63
- package/docs/subsystems/sources.md +0 -493
- package/docs/subsystems/vector_ops.md +0 -72
- package/docs/templates/issue_template.md +0 -36
- package/docs/templates/pr_template.md +0 -74
- package/docs/testing/ROUTE_COVERAGE_MATRIX.md +0 -104
- package/docs/testing/WHY_PARTIAL_ROUTE_COVERAGE.md +0 -183
- package/docs/testing/automated_test_catalog.md +0 -353
- package/docs/testing/cli_command_coverage_review.md +0 -130
- package/docs/testing/fixtures_standard.md +0 -202
- package/docs/testing/test_coverage_audit_summary.md +0 -571
- package/docs/testing/testing_standard.md +0 -146
- package/docs/ui/DESIGN_SYSTEM_UPDATE_SUMMARY.md +0 -152
- package/docs/ui/SHADCN_INTEGRATION_COMPLETE.md +0 -255
- package/docs/ui/design_constraints_template.yaml +0 -228
- package/docs/ui/design_system/accessibility.md +0 -38
- package/docs/ui/design_system/authentication_components.md +0 -38
- package/docs/ui/design_system/billing_components.md +0 -36
- package/docs/ui/design_system/brand_alignment.md +0 -35
- package/docs/ui/design_system/color_palette.md +0 -95
- package/docs/ui/design_system/component_styles.md +0 -241
- package/docs/ui/design_system/dark_mode.md +0 -30
- package/docs/ui/design_system/empty_states.md +0 -47
- package/docs/ui/design_system/error_states.md +0 -35
- package/docs/ui/design_system/file_upload_components.md +0 -60
- package/docs/ui/design_system/future_considerations.md +0 -19
- package/docs/ui/design_system/iconography.md +0 -21
- package/docs/ui/design_system/icp_aesthetic_analysis.md +0 -35
- package/docs/ui/design_system/icp_preference_alignment.md +0 -33
- package/docs/ui/design_system/implementation_notes.md +0 -119
- package/docs/ui/design_system/loading_states.md +0 -40
- package/docs/ui/design_system/motion_and_animation.md +0 -45
- package/docs/ui/design_system/navigation_components.md +0 -63
- package/docs/ui/design_system/onboarding_components.md +0 -48
- package/docs/ui/design_system/responsive_design.md +0 -26
- package/docs/ui/design_system/search_components.md +0 -32
- package/docs/ui/design_system/settings_components.md +0 -29
- package/docs/ui/design_system/spacing_and_layout.md +0 -67
- package/docs/ui/design_system/style_guide.md +0 -395
- package/docs/ui/design_system/typography.md +0 -88
- package/docs/ui/design_system/visual_hierarchy.md +0 -64
- package/docs/ui/design_system.md +0 -124
- package/docs/ui/dsl_spec.md +0 -97
- package/docs/ui/patterns/dashboard.md +0 -58
- package/docs/ui/patterns/detail.md +0 -68
- package/docs/ui/patterns/list.md +0 -72
- package/docs/ui/patterns/navigation.md +0 -314
- package/docs/ui/patterns/settings.md +0 -52
- package/docs/ui/patterns/wizard.md +0 -53
- package/docs/ui/prototype_guide.md +0 -300
- package/docs/ui/shadcn_components.md +0 -189
- package/docs/ui/style_guide_updates.md +0 -74
- package/docs/vocabulary/canonical_terms.md +0 -318
- package/fly.toml +0 -29
- package/foundation/.cursor/rules/agent_constraints.mdc +0 -198
- package/foundation/.cursor/rules/agent_test_execution.mdc +0 -356
- package/foundation/.cursor/rules/autonomous_execution.mdc +0 -117
- package/foundation/.cursor/rules/behavioral_self_adaptation.mdc +0 -531
- package/foundation/.cursor/rules/bug_fix_detection.mdc +0 -142
- package/foundation/.cursor/rules/checkpoint_management.mdc +0 -191
- package/foundation/.cursor/rules/configuration_management.mdc +0 -156
- package/foundation/.cursor/rules/content_style_enforcement.mdc +0 -138
- package/foundation/.cursor/rules/dependency_installation.mdc +0 -146
- package/foundation/.cursor/rules/document_loading_order.mdc +0 -194
- package/foundation/.cursor/rules/documentation_rules.mdc +0 -166
- package/foundation/.cursor/rules/downstream_doc_updates.mdc +0 -266
- package/foundation/.cursor/rules/environment_variables_1password.mdc +0 -307
- package/foundation/.cursor/rules/environment_variables_env_file.mdc +0 -121
- package/foundation/.cursor/rules/feature_unit_detection.mdc +0 -129
- package/foundation/.cursor/rules/file_naming.mdc +0 -31
- package/foundation/.cursor/rules/git_remote_sync.mdc +0 -240
- package/foundation/.cursor/rules/instruction_documentation.mdc +0 -302
- package/foundation/.cursor/rules/native_browser_debugging.mdc +0 -65
- package/foundation/.cursor/rules/plan_execution_testing.mdc +0 -98
- package/foundation/.cursor/rules/post_build_testing.mdc +0 -159
- package/foundation/.cursor/rules/prefer_cli_tools.mdc +0 -234
- package/foundation/.cursor/rules/readme_maintenance.mdc +0 -153
- package/foundation/.cursor/rules/release_detection.mdc +0 -92
- package/foundation/.cursor/rules/release_status_readme_update.mdc +0 -64
- package/foundation/.cursor/rules/risk_management.mdc +0 -167
- package/foundation/.cursor/rules/security.mdc +0 -158
- package/foundation/.cursor/rules/test_first_workflow.mdc +0 -341
- package/foundation/.cursor/rules/worktree_env.mdc +0 -53
- package/foundation/.cursor/skills/analyze/SKILL.md +0 -566
- package/foundation/.cursor/skills/commit/SKILL.md +0 -782
- package/foundation/.cursor/skills/create-feature-unit/SKILL.md +0 -180
- package/foundation/.cursor/skills/create-prototype/SKILL.md +0 -91
- package/foundation/.cursor/skills/create-release/SKILL.md +0 -432
- package/foundation/.cursor/skills/create-rule/SKILL.md +0 -292
- package/foundation/.cursor/skills/debug/SKILL.md +0 -980
- package/foundation/.cursor/skills/final-review/SKILL.md +0 -93
- package/foundation/.cursor/skills/fix-feature-bug/SKILL.md +0 -100
- package/foundation/.cursor/skills/manage-error-debugging/SKILL.md +0 -182
- package/foundation/.cursor/skills/publish/SKILL.md +0 -554
- package/foundation/.cursor/skills/pull/SKILL.md +0 -315
- package/foundation/.cursor/skills/push/SKILL.md +0 -254
- package/foundation/.cursor/skills/report/SKILL.md +0 -1501
- package/foundation/.cursor/skills/report-error/SKILL.md +0 -1501
- package/foundation/.cursor/skills/run-feature-workflow/SKILL.md +0 -79
- package/foundation/.cursor/skills/setup-commands/SKILL.md +0 -28
- package/foundation/.cursor/skills/setup-cursor-copies/SKILL.md +0 -233
- package/foundation/.cursor/skills/sync-env-from-1password/SKILL.md +0 -302
- package/foundation/CONTRIBUTING.md +0 -202
- package/foundation/LICENSE +0 -22
- package/foundation/MIGRATION.md +0 -396
- package/foundation/README.md +0 -391
- package/foundation/agent_instructions/README.md +0 -559
- package/foundation/config/foundation-config.yaml +0 -498
- package/foundation/config/foundation_config.yaml +0 -475
- package/foundation/config/repo_adapters/personal.yaml +0 -40
- package/foundation/config/repo_adapters/template.yaml +0 -45
- package/foundation/conventions/code_conventions.md +0 -908
- package/foundation/conventions/documentation_standards.md +0 -459
- package/foundation/conventions/naming_patterns.yaml +0 -139
- package/foundation/conventions/testing_conventions.md +0 -374
- package/foundation/conventions/writing_style_guide.md +0 -221
- package/foundation/development/branch_strategy.md +0 -266
- package/foundation/development/feature_unit_workflow.md +0 -423
- package/foundation/development/pr_process.md +0 -385
- package/foundation/development/release_workflow.md +0 -2296
- package/foundation/development/templates/feature_unit_spec_template.md +0 -312
- package/foundation/development/templates/manifest_template_extended.yaml +0 -303
- package/foundation/development/templates/manifest_template_simple.yaml +0 -148
- package/foundation/development/workflow.md +0 -509
- package/foundation/development/worktree_setup.sh +0 -207
- package/foundation/scripts/README.md +0 -230
- package/foundation/scripts/__pycache__/op_sync_env_from_1password.cpython-314.pyc +0 -0
- package/foundation/scripts/install-foundation.sh +0 -232
- package/foundation/scripts/install_foundation.sh +0 -232
- package/foundation/scripts/op_sync_env_from_1password.py +0 -1007
- package/foundation/scripts/report_error_create_dirs.sh +0 -14
- package/foundation/scripts/report_error_generate_id.sh +0 -10
- package/foundation/scripts/report_error_update_queue.sh +0 -24
- package/foundation/scripts/report_error_validate_target.sh +0 -34
- package/foundation/scripts/report_error_wait_resolution.sh +0 -69
- package/foundation/scripts/validate_setup.sh +0 -147
- package/foundation/security/credential_management.md +0 -263
- package/foundation/security/pre_commit_audit.sh +0 -78
- package/foundation/security/security_rules.md +0 -163
- package/foundation/strategy/README.md +0 -279
- package/foundation/strategy/competitive_analysis_template.md +0 -271
- package/foundation/strategy/partnership_analysis_template.md +0 -423
- package/foundation/strategy/project_assessment_framework.md +0 -485
- package/foundation/strategy/relevance_analysis_template.md +0 -297
- package/foundation/tooling/README.md +0 -198
- package/foundation/validation/README.md +0 -120
- package/foundation-config.yaml +0 -543
- package/frontend/docs.html +0 -43
- package/frontend/frontend/.vite-prototype/deps/@noble_curves_ed25519__js.js +0 -2859
- package/frontend/frontend/.vite-prototype/deps/@noble_curves_ed25519__js.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/@noble_hashes_utils__js.js +0 -62
- package/frontend/frontend/.vite-prototype/deps/@noble_hashes_utils__js.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-dialog.js +0 -464
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-dialog.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-dropdown-menu.js +0 -1488
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-dropdown-menu.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-label.js +0 -84
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-label.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-scroll-area.js +0 -757
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-scroll-area.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-select.js +0 -1351
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-select.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-slot.js +0 -18
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-slot.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-toast.js +0 -675
- package/frontend/frontend/.vite-prototype/deps/@radix-ui_react-toast.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/@tanstack_react-table.js +0 -3254
- package/frontend/frontend/.vite-prototype/deps/@tanstack_react-table.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/_metadata.json +0 -187
- package/frontend/frontend/.vite-prototype/deps/chunk-557GXNYU.js +0 -23
- package/frontend/frontend/.vite-prototype/deps/chunk-557GXNYU.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-6FYWT56J.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-C7HFWHWH.js +0 -271
- package/frontend/frontend/.vite-prototype/deps/chunk-C7HFWHWH.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-CJDTXCAB.js +0 -49
- package/frontend/frontend/.vite-prototype/deps/chunk-CJDTXCAB.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-DC5AMYBS.js +0 -39
- package/frontend/frontend/.vite-prototype/deps/chunk-DC5AMYBS.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-F4FBYZZO.js +0 -2258
- package/frontend/frontend/.vite-prototype/deps/chunk-F4FBYZZO.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-GIBJ3MQP.js +0 -129
- package/frontend/frontend/.vite-prototype/deps/chunk-GIBJ3MQP.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-IMIZXM4S.js +0 -218
- package/frontend/frontend/.vite-prototype/deps/chunk-IMIZXM4S.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-K236IVZX.js +0 -21628
- package/frontend/frontend/.vite-prototype/deps/chunk-K236IVZX.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-LPO6FEV6.js +0 -21
- package/frontend/frontend/.vite-prototype/deps/chunk-LPO6FEV6.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-PZJDTVNM.js +0 -144
- package/frontend/frontend/.vite-prototype/deps/chunk-PZJDTVNM.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-RGYP7AMI.js +0 -1116
- package/frontend/frontend/.vite-prototype/deps/chunk-RGYP7AMI.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-SMVRXQSC.js +0 -928
- package/frontend/frontend/.vite-prototype/deps/chunk-SMVRXQSC.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-SPBFJIQZ.js +0 -49
- package/frontend/frontend/.vite-prototype/deps/chunk-SPBFJIQZ.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-UQF5EARV.js +0 -9
- package/frontend/frontend/.vite-prototype/deps/chunk-UQF5EARV.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-VEFHXNY4.js +0 -186
- package/frontend/frontend/.vite-prototype/deps/chunk-VEFHXNY4.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/chunk-Z55WIHBM.js +0 -349
- package/frontend/frontend/.vite-prototype/deps/chunk-Z55WIHBM.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/class-variance-authority.js +0 -51
- package/frontend/frontend/.vite-prototype/deps/class-variance-authority.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/clsx.js +0 -10
- package/frontend/frontend/.vite-prototype/deps/clsx.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/lucide-react.js +0 -31586
- package/frontend/frontend/.vite-prototype/deps/lucide-react.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/package.json +0 -3
- package/frontend/frontend/.vite-prototype/deps/papaparse.js +0 -431
- package/frontend/frontend/.vite-prototype/deps/papaparse.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/react-dom.js +0 -7
- package/frontend/frontend/.vite-prototype/deps/react-dom.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/react-dom_client.js +0 -39
- package/frontend/frontend/.vite-prototype/deps/react-dom_client.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/react.js +0 -6
- package/frontend/frontend/.vite-prototype/deps/react.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/react_jsx-dev-runtime.js +0 -913
- package/frontend/frontend/.vite-prototype/deps/react_jsx-dev-runtime.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/react_jsx-runtime.js +0 -7
- package/frontend/frontend/.vite-prototype/deps/react_jsx-runtime.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/sonner.js +0 -1139
- package/frontend/frontend/.vite-prototype/deps/sonner.js.map +0 -7
- package/frontend/frontend/.vite-prototype/deps/tailwind-merge.js +0 -2534
- package/frontend/frontend/.vite-prototype/deps/tailwind-merge.js.map +0 -7
- package/frontend/index.html +0 -38
- package/frontend/src/App.tsx +0 -15
- package/frontend/src/bridge/discovery.ts +0 -126
- package/frontend/src/bridge/index.ts +0 -9
- package/frontend/src/bridge/mcp.ts +0 -85
- package/frontend/src/bridge/types.ts +0 -24
- package/frontend/src/bridge/websocket.ts +0 -349
- package/frontend/src/components/AIAgentBridge.tsx +0 -75
- package/frontend/src/components/AboutPage.tsx +0 -102
- package/frontend/src/components/AppNavigationSidebar.tsx +0 -181
- package/frontend/src/components/AppSidebar.tsx +0 -206
- package/frontend/src/components/AuthErrorHandler.tsx +0 -23
- package/frontend/src/components/Dashboard.tsx +0 -303
- package/frontend/src/components/DashboardPage.tsx +0 -78
- package/frontend/src/components/EmptyPlaceholder.tsx +0 -58
- package/frontend/src/components/EntityDetail.tsx +0 -801
- package/frontend/src/components/EntityList.tsx +0 -409
- package/frontend/src/components/ErrorBoundary.tsx +0 -131
- package/frontend/src/components/FileUploadView.tsx +0 -246
- package/frontend/src/components/FloatingSettingsButton.tsx +0 -46
- package/frontend/src/components/Header.tsx +0 -43
- package/frontend/src/components/IntegrationsPage.tsx +0 -46
- package/frontend/src/components/InterpretationList.tsx +0 -246
- package/frontend/src/components/KeyManagementDialog.tsx +0 -227
- package/frontend/src/components/Layout.tsx +0 -67
- package/frontend/src/components/MCPChatGPTPage.tsx +0 -128
- package/frontend/src/components/MCPClaudePage.tsx +0 -112
- package/frontend/src/components/MCPCodeiumPage.tsx +0 -100
- package/frontend/src/components/MCPConfigurationPage.tsx +0 -624
- package/frontend/src/components/MCPConnectionDialog.tsx +0 -177
- package/frontend/src/components/MCPConnectionsList.tsx +0 -197
- package/frontend/src/components/MCPContinuePage.tsx +0 -90
- package/frontend/src/components/MCPCursorPage.tsx +0 -379
- package/frontend/src/components/MCPGeminiPage.tsx +0 -102
- package/frontend/src/components/MCPGitHubCopilotPage.tsx +0 -100
- package/frontend/src/components/MCPGrokPage.tsx +0 -99
- package/frontend/src/components/MCPJetBrainsPage.tsx +0 -107
- package/frontend/src/components/MCPManusPage.tsx +0 -104
- package/frontend/src/components/MCPSetupDialog.tsx +0 -268
- package/frontend/src/components/MCPVSCodePage.tsx +0 -100
- package/frontend/src/components/MCPWindsurfPage.tsx +0 -99
- package/frontend/src/components/MainApp.tsx +0 -19
- package/frontend/src/components/NotFound.tsx +0 -46
- package/frontend/src/components/OAuthPage.tsx +0 -426
- package/frontend/src/components/ObservationList.tsx +0 -277
- package/frontend/src/components/ProtectedRoute.tsx +0 -38
- package/frontend/src/components/QuickEntryPanel.tsx +0 -99
- package/frontend/src/components/RealtimeStatusIndicator.tsx +0 -32
- package/frontend/src/components/RecentActivityFeed.tsx +0 -198
- package/frontend/src/components/RelationshipDetail.tsx +0 -232
- package/frontend/src/components/RelationshipList.tsx +0 -269
- package/frontend/src/components/SchemaDetail.test.tsx +0 -53
- package/frontend/src/components/SchemaDetail.tsx +0 -230
- package/frontend/src/components/SchemaList.tsx +0 -228
- package/frontend/src/components/SearchResults.tsx +0 -318
- package/frontend/src/components/SeoHead.tsx +0 -40
- package/frontend/src/components/SitePage.tsx +0 -654
- package/frontend/src/components/SourceDetail.tsx +0 -382
- package/frontend/src/components/SourceTable.tsx +0 -243
- package/frontend/src/components/StyleGuide.md +0 -48
- package/frontend/src/components/StyleGuide.tsx +0 -2316
- package/frontend/src/components/TimelineView.tsx +0 -321
- package/frontend/src/components/UniversalSearch.tsx +0 -518
- package/frontend/src/components/design-system/BadgesPage.tsx +0 -47
- package/frontend/src/components/design-system/ButtonsPage.tsx +0 -67
- package/frontend/src/components/design-system/CardsPage.tsx +0 -31
- package/frontend/src/components/design-system/CollapsiblePage.tsx +0 -84
- package/frontend/src/components/design-system/ColorsPage.tsx +0 -125
- package/frontend/src/components/design-system/DesignSystemIndex.tsx +0 -73
- package/frontend/src/components/design-system/DesignSystemLayout.tsx +0 -22
- package/frontend/src/components/design-system/DesignSystemRouter.tsx +0 -43
- package/frontend/src/components/design-system/InputsPage.tsx +0 -40
- package/frontend/src/components/design-system/PageFormatsPage.tsx +0 -263
- package/frontend/src/components/design-system/ProgressPage.tsx +0 -54
- package/frontend/src/components/design-system/SkeletonPage.tsx +0 -68
- package/frontend/src/components/design-system/SpacingPage.tsx +0 -45
- package/frontend/src/components/design-system/StyleGuidePage.tsx +0 -313
- package/frontend/src/components/design-system/SwitchPage.tsx +0 -60
- package/frontend/src/components/design-system/TablesPage.tsx +0 -206
- package/frontend/src/components/design-system/TabsPage.tsx +0 -88
- package/frontend/src/components/design-system/TooltipPage.tsx +0 -94
- package/frontend/src/components/design-system/TypographyPage.tsx +0 -81
- package/frontend/src/components/icons/CursorIcon.tsx +0 -26
- package/frontend/src/components/quick-entry/ContactDialog.tsx +0 -177
- package/frontend/src/components/quick-entry/EventDialog.tsx +0 -204
- package/frontend/src/components/quick-entry/TaskDialog.tsx +0 -204
- package/frontend/src/components/quick-entry/TransactionDialog.tsx +0 -188
- package/frontend/src/components/ui/alert.tsx +0 -59
- package/frontend/src/components/ui/badge.tsx +0 -36
- package/frontend/src/components/ui/breadcrumb.tsx +0 -120
- package/frontend/src/components/ui/button.tsx +0 -56
- package/frontend/src/components/ui/card.tsx +0 -68
- package/frontend/src/components/ui/collapsible.tsx +0 -9
- package/frontend/src/components/ui/dialog.tsx +0 -81
- package/frontend/src/components/ui/dropdown-menu.tsx +0 -195
- package/frontend/src/components/ui/input-group.tsx +0 -26
- package/frontend/src/components/ui/input.tsx +0 -24
- package/frontend/src/components/ui/label.tsx +0 -19
- package/frontend/src/components/ui/progress.tsx +0 -26
- package/frontend/src/components/ui/scroll-area.tsx +0 -35
- package/frontend/src/components/ui/select.tsx +0 -173
- package/frontend/src/components/ui/separator.tsx +0 -31
- package/frontend/src/components/ui/sheet.tsx +0 -139
- package/frontend/src/components/ui/sidebar.tsx +0 -851
- package/frontend/src/components/ui/skeleton.tsx +0 -15
- package/frontend/src/components/ui/switch.tsx +0 -35
- package/frontend/src/components/ui/table-scroll-wrapper.tsx +0 -96
- package/frontend/src/components/ui/table.tsx +0 -127
- package/frontend/src/components/ui/tabs.tsx +0 -53
- package/frontend/src/components/ui/textarea.tsx +0 -23
- package/frontend/src/components/ui/toast.tsx +0 -122
- package/frontend/src/components/ui/toaster.tsx +0 -32
- package/frontend/src/components/ui/tooltip.tsx +0 -28
- package/frontend/src/components/ui/use-toast.ts +0 -194
- package/frontend/src/constants/integrations.ts +0 -51
- package/frontend/src/contexts/AuthContext.tsx +0 -205
- package/frontend/src/contexts/RealtimeContext.tsx +0 -119
- package/frontend/src/docs/DocumentationApp.tsx +0 -104
- package/frontend/src/docs/DocumentationDirectory.tsx +0 -159
- package/frontend/src/docs/DocumentationLayout.tsx +0 -31
- package/frontend/src/docs/DocumentationPage.tsx +0 -38
- package/frontend/src/docs/DocumentationSidebar.tsx +0 -15
- package/frontend/src/docs/MarkdownContent.tsx +0 -212
- package/frontend/src/docs/README.md +0 -198
- package/frontend/src/docs/main.tsx +0 -12
- package/frontend/src/hooks/use-mobile.tsx +0 -19
- package/frontend/src/hooks/useKeys.ts +0 -202
- package/frontend/src/hooks/useMCPConfig.ts +0 -175
- package/frontend/src/hooks/useRealtimeEntities.ts +0 -56
- package/frontend/src/hooks/useRealtimeObservations.ts +0 -56
- package/frontend/src/hooks/useRealtimeRelationships.ts +0 -56
- package/frontend/src/hooks/useRealtimeSources.ts +0 -53
- package/frontend/src/hooks/useRealtimeTimeline.ts +0 -53
- package/frontend/src/hooks/useSettings.ts +0 -95
- package/frontend/src/hooks/useStorageQuota.ts +0 -65
- package/frontend/src/hooks/useTheme.tsx +0 -42
- package/frontend/src/index.css +0 -247
- package/frontend/src/lib/api_client.ts +0 -8
- package/frontend/src/lib/auth.ts +0 -100
- package/frontend/src/lib/idempotency.ts +0 -25
- package/frontend/src/lib/utils.ts +0 -7
- package/frontend/src/main.tsx +0 -40
- package/frontend/src/sample-data/sets-medium.csv +0 -55
- package/frontend/src/sample-data/sets-medium.ts +0 -45
- package/frontend/src/shared/.eslintrc.json +0 -35
- package/frontend/src/shared/.github/README.md +0 -55
- package/frontend/src/shared/.github/workflows/ci.yml +0 -88
- package/frontend/src/shared/.github/workflows/release.yml +0 -34
- package/frontend/src/shared/.github/workflows/setup.yml +0 -56
- package/frontend/src/shared/README.md +0 -163
- package/frontend/src/shared/SETUP.md +0 -121
- package/frontend/src/shared/components.json +0 -20
- package/frontend/src/shared/package-lock.json +0 -4508
- package/frontend/src/shared/package.json +0 -78
- package/frontend/src/shared/src/components/AppSidebar.tsx +0 -77
- package/frontend/src/shared/src/components/ErrorBoundary.tsx +0 -87
- package/frontend/src/shared/src/components/Layout.tsx +0 -262
- package/frontend/src/shared/src/components/ui/breadcrumb.tsx +0 -115
- package/frontend/src/shared/src/components/ui/button.tsx +0 -56
- package/frontend/src/shared/src/components/ui/calendar.tsx +0 -211
- package/frontend/src/shared/src/components/ui/input.tsx +0 -22
- package/frontend/src/shared/src/components/ui/popover.tsx +0 -29
- package/frontend/src/shared/src/components/ui/separator.tsx +0 -29
- package/frontend/src/shared/src/components/ui/sheet.tsx +0 -140
- package/frontend/src/shared/src/components/ui/sidebar.tsx +0 -519
- package/frontend/src/shared/src/components/ui/skeleton.tsx +0 -15
- package/frontend/src/shared/src/components/ui/tooltip.tsx +0 -28
- package/frontend/src/shared/src/hooks/use-mobile.tsx +0 -19
- package/frontend/src/shared/src/index.css +0 -75
- package/frontend/src/shared/src/index.ts +0 -34
- package/frontend/src/shared/src/lib/utils.ts +0 -6
- package/frontend/src/shared/tailwind.config.mjs +0 -67
- package/frontend/src/shared/tsconfig.json +0 -29
- package/frontend/src/site/seo_metadata.ts +0 -133
- package/frontend/src/site/site_data.test.ts +0 -36
- package/frontend/src/site/site_data.ts +0 -575
- package/frontend/src/store/README.md +0 -10
- package/frontend/src/utils/api_access.ts +0 -24
- package/frontend/src/utils/csv.test.ts +0 -42
- package/frontend/src/utils/csv.ts +0 -45
- package/frontend/src/utils/csv_summary.ts +0 -139
- package/frontend/src/utils/debounce.ts +0 -24
- package/frontend/src/utils/entity_display.test.ts +0 -334
- package/frontend/src/utils/entity_display.ts +0 -23
- package/frontend/src/utils/entity_type_formatter.ts +0 -56
- package/frontend/src/utils/error_utils.ts +0 -137
- package/frontend/src/utils/property_keys.ts +0 -36
- package/frontend/src/utils/schema_icons.test.ts +0 -59
- package/frontend/src/utils/schema_icons.ts +0 -229
- package/frontend/src/utils/time.ts +0 -37
- package/frontend/src/vite-env.d.ts +0 -14
- package/frontend/tsconfig.json +0 -27
- package/frontend/tsconfig.node.json +0 -11
- package/mcp/web-scraper/README.md +0 -475
- package/mcp/web-scraper/SETUP.md +0 -150
- package/mcp/web-scraper/__init__.py +0 -3
- package/mcp/web-scraper/chatgpt_scraper_mcp_server.py +0 -435
- package/mcp/web-scraper/create_repo.sh +0 -50
- package/mcp/web-scraper/imports/spotify/playlist_3i0FY58V7n8XIUyWDm3AYA.json +0 -1052
- package/mcp/web-scraper/nytimes_article.json +0 -7
- package/mcp/web-scraper/plugins/__init__.py +0 -3
- package/mcp/web-scraper/plugins/chatgpt_scraper.py +0 -105
- package/mcp/web-scraper/plugins/metacast_scraper.py +0 -828
- package/mcp/web-scraper/plugins/nyt_podcast_scraper.py +0 -538
- package/mcp/web-scraper/plugins/spotify_scraper.py +0 -618
- package/mcp/web-scraper/plugins/twitter_scraper.py +0 -576
- package/mcp/web-scraper/plugins/url_body_fetcher.py +0 -172
- package/mcp/web-scraper/pytest.ini +0 -11
- package/mcp/web-scraper/requirements-test.txt +0 -6
- package/mcp/web-scraper/requirements.txt +0 -6
- package/mcp/web-scraper/run-web-scraper-mcp.sh +0 -38
- package/mcp/web-scraper/scrape_spotify_playlist.py +0 -77
- package/mcp/web-scraper/scraper.py +0 -819
- package/mcp/web-scraper/scraper_base.py +0 -88
- package/mcp/web-scraper/scraper_registry.py +0 -32
- package/mcp/web-scraper/scripts/scrape_tweet_and_verify_referenced.py +0 -65
- package/mcp/web-scraper/store_songs_to_parquet.py +0 -120
- package/mcp/web-scraper/tests/__init__.py +0 -0
- package/mcp/web-scraper/tests/conftest.py +0 -40
- package/mcp/web-scraper/tests/integration/__init__.py +0 -0
- package/mcp/web-scraper/tests/unit/__init__.py +0 -0
- package/mcp/web-scraper/tests/unit/test_source_detection.py +0 -60
- package/mcp/web-scraper/web_scraper_mcp_server.py +0 -639
- package/openapi.yaml +0 -2071
- package/playwright/fixtures/servers.ts +0 -180
- package/playwright/global_setup.ts +0 -3
- package/playwright/tests/auto-enhancement.spec.ts +0 -370
- package/playwright/tests/coverage-map.json +0 -135
- package/playwright/tests/design-system.spec.ts +0 -216
- package/playwright/tests/entity-detail.spec.ts +0 -268
- package/playwright/tests/entity-list.spec.ts +0 -266
- package/playwright/tests/floating-settings-button.spec.ts +0 -95
- package/playwright/tests/graph-integrity.spec.ts +0 -344
- package/playwright/tests/helpers.ts +0 -560
- package/playwright/tests/interpretations.spec.ts +0 -285
- package/playwright/tests/mcp-configuration.spec.ts +0 -208
- package/playwright/tests/mcp-relationships.spec.ts +0 -631
- package/playwright/tests/mcp-store-retrieve.spec.ts +0 -288
- package/playwright/tests/not-found.spec.ts +0 -30
- package/playwright/tests/oauth-flow.spec.ts +0 -790
- package/playwright/tests/observations.spec.ts +0 -295
- package/playwright/tests/relationship-detail.spec.ts +0 -305
- package/playwright/tests/relationships-list.spec.ts +0 -275
- package/playwright/tests/schema-detail.spec.ts +0 -300
- package/playwright/tests/schemas-list.spec.ts +0 -262
- package/playwright/tests/search-flow.spec.ts +0 -216
- package/playwright/tests/site-page.spec.ts +0 -23
- package/playwright/tests/source-detail.spec.ts +0 -300
- package/playwright/tests/sources-list.spec.ts +0 -254
- package/playwright/tests/upload-flow.spec.ts +0 -279
- package/playwright/tsconfig.json +0 -17
- package/playwright/types.d.ts +0 -14
- package/playwright/utils/servers.ts +0 -435
- package/playwright.config.ts +0 -77
- package/postcss.config.mjs +0 -7
- package/scripts/add_ngrok_mapping.py +0 -99
- package/scripts/add_required_observation_fields.js +0 -96
- package/scripts/add_required_source_fields.js +0 -95
- package/scripts/analyze-data-dir-schemas.js +0 -256
- package/scripts/analyze_data_dir_for_schemas.ts +0 -378
- package/scripts/analyze_low_confidence_fields.ts +0 -235
- package/scripts/analyze_schema_redundancies.ts +0 -228
- package/scripts/apply_documentation_rules.sh +0 -81
- package/scripts/apply_file_naming_convention.sh +0 -75
- package/scripts/backfill_entity_embeddings.ts +0 -95
- package/scripts/branch.js +0 -47
- package/scripts/build_github_pages_site.tsx +0 -65
- package/scripts/check-playwright-coverage.ts +0 -159
- package/scripts/check_agent_conversations.js +0 -72
- package/scripts/check_agent_status.js +0 -156
- package/scripts/check_auto_enhancement_status.ts +0 -215
- package/scripts/check_auto_test_schemas.ts +0 -43
- package/scripts/check_claude_sync.sh +0 -35
- package/scripts/check_raw_fragments.ts +0 -46
- package/scripts/check_remaining_eligibility.ts +0 -46
- package/scripts/check_remaining_fields.ts +0 -58
- package/scripts/check_sendgrid_credits.sh +0 -122
- package/scripts/check_sendgrid_email_logs.sh +0 -150
- package/scripts/check_snapshot_schema.ts +0 -18
- package/scripts/check_sources.ts +0 -34
- package/scripts/check_stale_snapshots.ts +0 -80
- package/scripts/cleanup-auto-test-schemas.ts +0 -80
- package/scripts/cleanup_test_schemas.ts +0 -275
- package/scripts/com.neotoma.dev-servers.plist.template +0 -27
- package/scripts/com.neotoma.watch-build.plist.template +0 -27
- package/scripts/complete_submodule_setup.sh +0 -101
- package/scripts/configure_sendgrid_dns.sh +0 -162
- package/scripts/copy-env-to-worktree.js +0 -109
- package/scripts/copy_pdf_worker_wrapper.js +0 -19
- package/scripts/create_sample_parquet_files.py +0 -120
- package/scripts/create_sample_parquet_files.ts +0 -146
- package/scripts/create_sample_parquet_files_mcp.ts +0 -196
- package/scripts/create_sample_parquet_files_simple.sh +0 -132
- package/scripts/cursor-worktree-init.sh +0 -24
- package/scripts/debug-ssl.sh +0 -86
- package/scripts/debug_pdf_extraction.ts +0 -69
- package/scripts/debug_vec_knn.ts +0 -69
- package/scripts/dev-proxy.js +0 -406
- package/scripts/dev-serve.js +0 -349
- package/scripts/disable-dns.sh +0 -47
- package/scripts/doctor.ts +0 -97
- package/scripts/export_schema_snapshots.ts +0 -253
- package/scripts/fix-ssl-cert.sh +0 -72
- package/scripts/fix_mcp_phase1_tests.sh +0 -51
- package/scripts/fix_observation_column_names.js +0 -51
- package/scripts/fix_observation_priority_ordering.js +0 -45
- package/scripts/fix_observation_properties_to_fields.js +0 -48
- package/scripts/fix_sqlite_schema_mismatch.js +0 -75
- package/scripts/generate-dev-cert.sh +0 -69
- package/scripts/generate_pdf_fixtures.ts +0 -330
- package/scripts/generate_schema_icons.ts +0 -216
- package/scripts/get_branch_ports.js +0 -56
- package/scripts/get_mcp_token.sh +0 -47
- package/scripts/get_secrets_for_agents.js +0 -45
- package/scripts/ingest_data_dir.ts +0 -215
- package/scripts/ingest_finances_data.ts +0 -255
- package/scripts/initialize-schemas.ts +0 -350
- package/scripts/install_launchd_dev_servers.js +0 -54
- package/scripts/install_launchd_watch_build.js +0 -53
- package/scripts/instruct_agents_credential_setup.js +0 -130
- package/scripts/instruct_agents_env_check.js +0 -99
- package/scripts/instruct_agents_run_tests_until_passing.js +0 -128
- package/scripts/kill_port.js +0 -174
- package/scripts/linters/sync_agent_instructions_pre_commit.sh +0 -34
- package/scripts/manage_error_debugging.sh +0 -228
- package/scripts/manually_queue_enhancements.ts +0 -156
- package/scripts/merge-dev.js +0 -319
- package/scripts/migrate_auto_enhanced_fields.ts +0 -83
- package/scripts/migrate_env_to_secrets.js +0 -69
- package/scripts/migrate_plans.ts +0 -870
- package/scripts/monitor_and_fix_snapshots.ts +0 -165
- package/scripts/move_docs_rules_to_cursor.js +0 -54
- package/scripts/move_docs_rules_to_cursor.sh +0 -24
- package/scripts/neotoma-npm-reserve/README.md +0 -8
- package/scripts/neotoma-npm-reserve/package.json +0 -10
- package/scripts/notify_agents_env_vars.js +0 -109
- package/scripts/notify_agents_setup_script.js +0 -148
- package/scripts/notify_running_agents_credentials.js +0 -177
- package/scripts/pdf_worker_polyfill.mjs +0 -27
- package/scripts/pick-port.js +0 -108
- package/scripts/postinstall.js +0 -84
- package/scripts/process_remaining_eligible.ts +0 -70
- package/scripts/prototypes/run-prototype.sh +0 -40
- package/scripts/prune-merged-branches.js +0 -115
- package/scripts/recompute_bob.ts +0 -64
- package/scripts/recompute_snapshots.ts +0 -72
- package/scripts/release_orchestrator.js +0 -1995
- package/scripts/remove_duplicate_source_fields.js +0 -61
- package/scripts/rename-branch-from-commit.js +0 -111
- package/scripts/respawn_agents_with_credentials.js +0 -358
- package/scripts/respawn_single_agent.js +0 -324
- package/scripts/run-dev-server-with-tunnel-url.sh +0 -16
- package/scripts/run-dev-task.js +0 -160
- package/scripts/run_dev_servers_launchd.sh +0 -14
- package/scripts/run_integration_tests.js +0 -523
- package/scripts/run_migrations.js +0 -55
- package/scripts/run_neotoma_mcp_stdio.sh +0 -11
- package/scripts/run_neotoma_mcp_stdio_dev_watch.sh +0 -10
- package/scripts/run_neotoma_mcp_stdio_prod.sh +0 -11
- package/scripts/run_neotoma_mcp_stdio_prod_watch.sh +0 -12
- package/scripts/run_watch_build_launchd.sh +0 -18
- package/scripts/scrape_nytimes_article.py +0 -182
- package/scripts/scrape_nytimes_simple.py +0 -152
- package/scripts/secrets_manager.js +0 -232
- package/scripts/send_agent_followup.js +0 -136
- package/scripts/setup-data-symlink.js +0 -88
- package/scripts/setup-dns.sh +0 -54
- package/scripts/setup-env-copy-hook.sh +0 -67
- package/scripts/setup-foundation-symlink.js +0 -45
- package/scripts/setup-https-tunnel.sh +0 -409
- package/scripts/setup-test-env.sh +0 -18
- package/scripts/setup_agent_credentials.sh +0 -27
- package/scripts/setup_agent_environment.sh +0 -39
- package/scripts/setup_claude_instructions.sh +0 -437
- package/scripts/setup_cloudflare_email_routing.sh +0 -158
- package/scripts/setup_shared_submodule.sh +0 -100
- package/scripts/simulate_npm_install.js +0 -70
- package/scripts/spec_compliance_patterns.js +0 -260
- package/scripts/sync-env-from-1password.sh +0 -100
- package/scripts/sync_mcp_configs.js +0 -106
- package/scripts/test-base64-store.ts +0 -53
- package/scripts/test-error-handling.ts +0 -44
- package/scripts/test-file-path-store.ts +0 -142
- package/scripts/test-raw-fragments-idempotence.ts +0 -157
- package/scripts/test-raw-fragments-insert.ts +0 -88
- package/scripts/test-store-response-structure.ts +0 -125
- package/scripts/test-store-structured-response.ts +0 -126
- package/scripts/test_agent_env_spawn.js +0 -82
- package/scripts/test_confidence.ts +0 -36
- package/scripts/test_dsnp_parquet_reading.ts +0 -72
- package/scripts/test_mcp_semantic_search.ts +0 -36
- package/scripts/test_parquet_ingestion.ts +0 -52
- package/scripts/test_raw_fragments_in_response.ts +0 -31
- package/scripts/test_sendgrid_smtp.sh +0 -45
- package/scripts/test_store_parquet_via_mcp.ts +0 -66
- package/scripts/trigger_error_debug_cli.js +0 -271
- package/scripts/unblock_agents.js +0 -208
- package/scripts/validate-coverage-map.ts +0 -187
- package/scripts/validate-doc-dependencies.js +0 -410
- package/scripts/validate_all_fu_compliance.js +0 -752
- package/scripts/validate_schema_sync.ts +0 -135
- package/scripts/validate_spec_compliance.js +0 -669
- package/scripts/watch_site.js +0 -68
- package/scripts/wipe-local-database.js +0 -191
- package/scripts/with_branch_ports.js +0 -496
- package/site_pages/.nojekyll +0 -0
- package/site_pages/FAVICON_CANDIDATES.md +0 -22
- package/site_pages/favicon-1-diamond.svg +0 -3
- package/site_pages/favicon-2-n-box.svg +0 -10
- package/site_pages/favicon-3-waves.svg +0 -3
- package/site_pages/favicon-4-n-minimal.svg +0 -3
- package/site_pages/favicon-5-bars.svg +0 -5
- package/site_pages/favicon.svg +0 -10
- package/site_pages/index.html +0 -40
- package/site_pages/robots.txt +0 -4
- package/site_pages/sitemap.xml +0 -5
- package/src/actions.ts +0 -4468
- package/src/cli/agent_instructions_scan.ts +0 -793
- package/src/cli/bootstrap.ts +0 -35
- package/src/cli/config.ts +0 -338
- package/src/cli/format.ts +0 -337
- package/src/cli/index.ts +0 -11417
- package/src/cli/init_abort.ts +0 -7
- package/src/cli/mcp_config_scan.ts +0 -1359
- package/src/cli/pack_rat.ts +0 -134
- package/src/config/record_types.ts +0 -562
- package/src/config.ts +0 -164
- package/src/crypto/agent_identity.ts +0 -46
- package/src/crypto/auth.ts +0 -110
- package/src/crypto/column_encryption.ts +0 -109
- package/src/crypto/crypto.test.ts +0 -311
- package/src/crypto/envelope.ts +0 -240
- package/src/crypto/export.ts +0 -131
- package/src/crypto/index.ts +0 -13
- package/src/crypto/key_derivation.ts +0 -176
- package/src/crypto/keys.ts +0 -85
- package/src/crypto/mcp_auth_token.ts +0 -35
- package/src/crypto/signature.ts +0 -50
- package/src/crypto/types.ts +0 -48
- package/src/db.ts +0 -66
- package/src/embeddings.ts +0 -76
- package/src/index.ts +0 -25
- package/src/mcp_ws_bridge.ts +0 -222
- package/src/middleware/encrypt_response.ts +0 -39
- package/src/normalize.ts +0 -351
- package/src/record_types.test.ts +0 -36
- package/src/reducers/index.ts +0 -5
- package/src/reducers/observation_reducer.ts +0 -458
- package/src/reducers/relationship_reducer.ts +0 -291
- package/src/repositories/db/capability_repo.ts +0 -29
- package/src/repositories/file/capability_repo.ts +0 -29
- package/src/repositories/index.ts +0 -7
- package/src/repositories/interfaces.ts +0 -112
- package/src/repositories/sqlite/__tests__/local_db_adapter.test.ts +0 -138
- package/src/repositories/sqlite/local_db_adapter.ts +0 -961
- package/src/repositories/sqlite/sqlite_client.ts +0 -378
- package/src/server.ts +0 -6157
- package/src/services/__tests__/csv_chunking.test.ts +0 -125
- package/src/services/__tests__/deletion.test.ts +0 -358
- package/src/services/__tests__/entity_semantic_search.test.ts +0 -45
- package/src/services/__tests__/local_auth.test.ts +0 -52
- package/src/services/__tests__/local_entity_embedding.test.ts +0 -108
- package/src/services/__tests__/mcp_oauth.test.ts +0 -407
- package/src/services/__tests__/oauth_key_gate.test.ts +0 -50
- package/src/services/__tests__/oauth_state.test.ts +0 -40
- package/src/services/__tests__/schema_icon_service.test.ts +0 -151
- package/src/services/auto_enhancement_processor.ts +0 -237
- package/src/services/capability_registry.ts +0 -202
- package/src/services/correction.ts +0 -87
- package/src/services/csv_chunking.ts +0 -128
- package/src/services/csv_row_extraction.ts +0 -124
- package/src/services/dashboard_stats.ts +0 -115
- package/src/services/deletion.ts +0 -482
- package/src/services/deletion_monitor.ts +0 -314
- package/src/services/encryption_service.ts +0 -110
- package/src/services/entity_merge.ts +0 -100
- package/src/services/entity_queries.ts +0 -518
- package/src/services/entity_resolution.ts +0 -367
- package/src/services/entity_semantic_search.ts +0 -64
- package/src/services/entity_snapshot_embedding.ts +0 -115
- package/src/services/field_canonicalization.ts +0 -393
- package/src/services/field_converters.ts +0 -173
- package/src/services/field_validation.ts +0 -173
- package/src/services/file_text_extraction.ts +0 -213
- package/src/services/finances_field_mapping.ts +0 -473
- package/src/services/gdpr_deletion.ts +0 -497
- package/src/services/interpretation.ts +0 -939
- package/src/services/llm_extraction.ts +0 -548
- package/src/services/local_auth.ts +0 -154
- package/src/services/local_entity_embedding.ts +0 -196
- package/src/services/mcp_auth.ts +0 -75
- package/src/services/mcp_oauth.ts +0 -1625
- package/src/services/mcp_oauth_errors.ts +0 -139
- package/src/services/oauth_key_gate.ts +0 -116
- package/src/services/oauth_state.ts +0 -70
- package/src/services/observation_identity.ts +0 -161
- package/src/services/observation_storage.ts +0 -162
- package/src/services/parquet_reader.ts +0 -375
- package/src/services/public_key_registry.ts +0 -103
- package/src/services/raw_fragments.ts +0 -217
- package/src/services/raw_storage.ts +0 -267
- package/src/services/relationships.ts +0 -495
- package/src/services/schema_definitions.ts +0 -2041
- package/src/services/schema_icon_service.ts +0 -260
- package/src/services/schema_inference.ts +0 -401
- package/src/services/schema_recommendation.ts +0 -1475
- package/src/services/schema_registry.ts +0 -1403
- package/src/services/snapshot_computation.ts +0 -92
- package/src/services/source_identity.ts +0 -22
- package/src/services/timeline_events.ts +0 -198
- package/src/shared/action_handlers/entity_handlers.ts +0 -115
- package/src/shared/action_schemas.test.ts +0 -59
- package/src/shared/action_schemas.ts +0 -317
- package/src/shared/api_client.ts +0 -86
- package/src/shared/contract_mappings.ts +0 -646
- package/src/shared/entity_display_name.ts +0 -64
- package/src/shared/local_transport.ts +0 -126
- package/src/shared/openapi_schema.ts +0 -175
- package/src/shared/openapi_types.ts +0 -2810
- package/src/shared/record_display_summary.ts +0 -133
- package/src/utils/__tests__/csv_summary.test.ts +0 -53
- package/src/utils/__tests__/lucide_icons.test.ts +0 -133
- package/src/utils/chat.test.ts +0 -42
- package/src/utils/chat.ts +0 -35
- package/src/utils/csv.test.ts +0 -41
- package/src/utils/csv.ts +0 -77
- package/src/utils/csv_summary.ts +0 -195
- package/src/utils/log_encrypt.ts +0 -144
- package/src/utils/logger.ts +0 -94
- package/src/utils/lucide_icons.ts +0 -279
- package/src/utils/property_keys.test.ts +0 -109
- package/src/utils/property_keys.ts +0 -66
- package/src/utils/property_sanitizer.test.ts +0 -105
- package/src/utils/property_sanitizer.ts +0 -135
- package/src/version_check.test.ts +0 -107
- package/src/version_check.ts +0 -58
- package/supabase/.temp/cli-latest +0 -0
- package/tailwind.config.mjs +0 -134
- package/tests/TEST_ACTION_MATRIX.md +0 -387
- package/tests/agent/mcp_instruction_behavior.test.ts +0 -72
- package/tests/agent/runner/agent_runner.ts +0 -27
- package/tests/agent/runner/claude_code_runner.ts +0 -128
- package/tests/agent/runner/cursor_cli_runner.ts +0 -7
- package/tests/cli/api_client_offline_fallback.test.ts +0 -89
- package/tests/cli/cli_admin_commands.test.ts +0 -268
- package/tests/cli/cli_api_commands.test.ts +0 -75
- package/tests/cli/cli_auth_commands.test.ts +0 -67
- package/tests/cli/cli_command_coverage_guard.test.ts +0 -50
- package/tests/cli/cli_correction_commands.test.ts +0 -277
- package/tests/cli/cli_direct_invocation_parity.test.ts +0 -46
- package/tests/cli/cli_entity_commands.test.ts +0 -324
- package/tests/cli/cli_entity_subcommands.test.ts +0 -422
- package/tests/cli/cli_infra_commands.test.ts +0 -475
- package/tests/cli/cli_mcp_commands.test.ts +0 -51
- package/tests/cli/cli_observation_commands.test.ts +0 -232
- package/tests/cli/cli_query_commands.test.ts +0 -369
- package/tests/cli/cli_relationship_commands.test.ts +0 -410
- package/tests/cli/cli_schema_commands.test.ts +0 -296
- package/tests/cli/cli_session_startup_ux.test.ts +0 -112
- package/tests/cli/cli_smoke.test.ts +0 -456
- package/tests/cli/cli_source_commands.test.ts +0 -214
- package/tests/cli/cli_stats_commands.test.ts +0 -51
- package/tests/cli/cli_store_commands.test.ts +0 -339
- package/tests/cli/cli_timeline_commands.test.ts +0 -294
- package/tests/cli/config.test.ts +0 -36
- package/tests/cli/config_api_discovery.test.ts +0 -91
- package/tests/cli/test_command_detection.test.ts +0 -128
- package/tests/cli/test_debug_tty.test.ts +0 -32
- package/tests/contract/contract_mapping.test.ts +0 -131
- package/tests/contract/contract_mcp_cli_parity.test.ts +0 -223
- package/tests/contract/openapi_schema.test.ts +0 -15
- package/tests/fixtures/README.md +0 -22
- package/tests/fixtures/agent_mcp/insurance_policy.txt +0 -5
- package/tests/fixtures/agent_mcp_cases.json +0 -137
- package/tests/fixtures/csv/sample_balances.csv +0 -7
- package/tests/fixtures/csv/sample_contacts.csv +0 -6
- package/tests/fixtures/csv/sample_crypto_transactions.csv +0 -6
- package/tests/fixtures/csv/sample_flows.csv +0 -7
- package/tests/fixtures/csv/sample_holdings.csv +0 -7
- package/tests/fixtures/csv/sample_income.csv +0 -7
- package/tests/fixtures/csv/sample_purchases.csv +0 -7
- package/tests/fixtures/csv/sample_tax_events.csv +0 -7
- package/tests/fixtures/csv/sample_transactions.csv +0 -7
- package/tests/fixtures/csv/sample_transfers.csv +0 -6
- package/tests/fixtures/expected/contact_snapshot.json +0 -19
- package/tests/fixtures/expected/transaction_snapshot.json +0 -21
- package/tests/fixtures/helpers.ts +0 -522
- package/tests/fixtures/json/account.json +0 -63
- package/tests/fixtures/json/argument.json +0 -39
- package/tests/fixtures/json/balance.json +0 -56
- package/tests/fixtures/json/belief.json +0 -44
- package/tests/fixtures/json/contact.json +0 -83
- package/tests/fixtures/json/contract.json +0 -62
- package/tests/fixtures/json/crypto_transaction.json +0 -67
- package/tests/fixtures/json/domain.json +0 -41
- package/tests/fixtures/json/emotion.json +0 -31
- package/tests/fixtures/json/fixed_cost.json +0 -75
- package/tests/fixtures/json/flow.json +0 -71
- package/tests/fixtures/json/habit.json +0 -54
- package/tests/fixtures/json/habit_completion.json +0 -31
- package/tests/fixtures/json/habit_objective.json +0 -40
- package/tests/fixtures/json/holding.json +0 -65
- package/tests/fixtures/json/income.json +0 -59
- package/tests/fixtures/json/liability.json +0 -50
- package/tests/fixtures/json/order.json +0 -62
- package/tests/fixtures/json/outcome.json +0 -56
- package/tests/fixtures/json/process.json +0 -43
- package/tests/fixtures/json/property.json +0 -52
- package/tests/fixtures/json/purchase.json +0 -66
- package/tests/fixtures/json/research.json +0 -53
- package/tests/fixtures/json/strategy.json +0 -68
- package/tests/fixtures/json/task_attachment.json +0 -62
- package/tests/fixtures/json/task_comment.json +0 -54
- package/tests/fixtures/json/task_dependency.json +0 -51
- package/tests/fixtures/json/task_story.json +0 -53
- package/tests/fixtures/json/tax_event.json +0 -60
- package/tests/fixtures/json/tax_filing.json +0 -61
- package/tests/fixtures/json/transaction.json +0 -62
- package/tests/fixtures/json/transfer.json +0 -60
- package/tests/fixtures/json/wallet.json +0 -51
- package/tests/fixtures/json/workout.json +0 -45
- package/tests/fixtures/pdf/sample-upload.txt +0 -2
- package/tests/fixtures/pdf/sample_bank_statement.md +0 -32
- package/tests/fixtures/pdf/sample_bank_statement.pdf +0 -0
- package/tests/fixtures/pdf/sample_contract.md +0 -27
- package/tests/fixtures/pdf/sample_contract.pdf +0 -0
- package/tests/fixtures/pdf/sample_exercise.md +0 -31
- package/tests/fixtures/pdf/sample_exercise.pdf +0 -0
- package/tests/fixtures/pdf/sample_holding_statement.md +0 -29
- package/tests/fixtures/pdf/sample_holding_statement.pdf +0 -0
- package/tests/fixtures/pdf/sample_invoice.md +0 -27
- package/tests/fixtures/pdf/sample_invoice.pdf +0 -108
- package/tests/fixtures/pdf/sample_meal.md +0 -28
- package/tests/fixtures/pdf/sample_meal.pdf +0 -111
- package/tests/fixtures/pdf/sample_note.md +0 -28
- package/tests/fixtures/pdf/sample_note.pdf +0 -0
- package/tests/fixtures/pdf/sample_receipt.md +0 -28
- package/tests/fixtures/pdf/sample_receipt.pdf +0 -0
- package/tests/fixtures/pdf/sample_research.md +0 -31
- package/tests/fixtures/pdf/sample_research.pdf +0 -0
- package/tests/fixtures/pdf/sample_tax_form.md +0 -38
- package/tests/fixtures/pdf/sample_tax_form.pdf +0 -0
- package/tests/fixtures/pdf/sample_transaction_receipt.md +0 -28
- package/tests/fixtures/pdf/sample_transaction_receipt.pdf +0 -0
- package/tests/fixtures/replay_graph.test.ts +0 -125
- package/tests/fixtures/sample_invoice.pdf +0 -1
- package/tests/fixtures/types.ts +0 -321
- package/tests/fixtures/validation.ts +0 -333
- package/tests/helpers/cleanup_helpers.ts +0 -550
- package/tests/helpers/create_test_parquet.ts +0 -187
- package/tests/helpers/cross_layer_helpers.ts +0 -130
- package/tests/helpers/mcp_action_helper.ts +0 -55
- package/tests/helpers/mcp_spec_validators.ts +0 -433
- package/tests/helpers/test_data_helpers.ts +0 -226
- package/tests/helpers/test_schema_helpers.ts +0 -264
- package/tests/integration/cli_to_mcp_entities.test.ts +0 -211
- package/tests/integration/cli_to_mcp_relationships.test.ts +0 -196
- package/tests/integration/cli_to_mcp_schemas.test.ts +0 -232
- package/tests/integration/cli_to_mcp_stats_snapshots.test.ts +0 -67
- package/tests/integration/cli_to_mcp_store.test.ts +0 -249
- package/tests/integration/dashboard_stats.test.ts +0 -180
- package/tests/integration/entity_queries.test.ts +0 -666
- package/tests/integration/field_converters.test.ts +0 -266
- package/tests/integration/fixture_mcp_store_replay.test.ts +0 -255
- package/tests/integration/gdpr_deletion.test.ts +0 -433
- package/tests/integration/llm_extraction.test.ts +0 -554
- package/tests/integration/mcp_actions_matrix.test.ts +0 -969
- package/tests/integration/mcp_auto_enhancement.test.ts +0 -659
- package/tests/integration/mcp_auto_schema_creation.test.ts +0 -658
- package/tests/integration/mcp_correction_variations.test.ts +0 -641
- package/tests/integration/mcp_entity_creation.test.ts +0 -333
- package/tests/integration/mcp_entity_variations.test.ts +0 -474
- package/tests/integration/mcp_graph_variations.test.ts +0 -380
- package/tests/integration/mcp_npm_check_update.test.ts +0 -54
- package/tests/integration/mcp_query_variations.test.ts +0 -392
- package/tests/integration/mcp_relationship_variations.test.ts +0 -433
- package/tests/integration/mcp_resource_variations.test.ts +0 -423
- package/tests/integration/mcp_resources.test.ts +0 -452
- package/tests/integration/mcp_schema_actions.test.ts +0 -673
- package/tests/integration/mcp_schema_variations.test.ts +0 -428
- package/tests/integration/mcp_store_parquet.test.ts +0 -466
- package/tests/integration/mcp_store_unstructured.test.ts +0 -413
- package/tests/integration/mcp_store_variations.test.ts +0 -452
- package/tests/integration/nonjson_csv_store_behavior.test.ts +0 -348
- package/tests/integration/nonjson_fixtures_mcp_replay.test.ts +0 -253
- package/tests/integration/observation_ingestion.test.ts +0 -362
- package/tests/integration/payload/payload_submission.test.ts +0 -296
- package/tests/integration/payload_compiler.test.ts +0 -347
- package/tests/integration/public_key_registry.test.ts +0 -204
- package/tests/integration/relationship_snapshots.test.ts +0 -235
- package/tests/integration/schema_recommendation_integration.test.ts +0 -418
- package/tests/integration/setup_v0.2.0_schemas.ts +0 -61
- package/tests/integration/v0.2.0_ingestion.test.ts +0 -527
- package/tests/services/auto_enhancement_converter_detection.test.ts +0 -663
- package/tests/services/auto_enhancement_processor.test.ts +0 -445
- package/tests/services/capability_registry.test.ts +0 -254
- package/tests/services/converter_detection_unit.test.ts +0 -168
- package/tests/services/encryption_service.test.ts +0 -147
- package/tests/services/entity_resolution.test.ts +0 -285
- package/tests/services/field_canonicalization.test.ts +0 -215
- package/tests/services/field_converters.test.ts +0 -211
- package/tests/services/field_validation.test.ts +0 -318
- package/tests/services/finances_field_mapping.test.ts +0 -245
- package/tests/services/interpretation.test.ts +0 -144
- package/tests/services/mcp_auth.test.ts +0 -34
- package/tests/services/observation_identity.test.ts +0 -154
- package/tests/services/payload_identity.test.ts +0 -325
- package/tests/services/payload_schema.test.ts +0 -282
- package/tests/services/raw_storage.test.ts +0 -546
- package/tests/services/schema_definitions.test.ts +0 -119
- package/tests/services/schema_recommendation.test.ts +0 -590
- package/tests/services/schema_registry_incremental.test.ts +0 -882
- package/tests/services/summary.test.ts +0 -26
- package/tests/unit/bigint_serialization.test.ts +0 -220
- package/tests/unit/observation_reducer_converters.test.ts +0 -430
- package/tests/unit/parquet_reader.test.ts +0 -155
- package/tests/unit/relationship_reducer.test.ts +0 -208
- package/tests/unit/schema_inference.test.ts +0 -358
- package/tests/unit/seo_metadata.test.ts +0 -52
- package/tsconfig.json +0 -22
- package/vite.config.ts +0 -165
- package/vitest.config.ts +0 -111
- package/vitest.global_setup.ts +0 -42
- package/vitest.setup.ts +0 -89
|
@@ -1,2041 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Entity Schema Definitions for All Entity Types
|
|
3
|
-
*
|
|
4
|
-
* Defines entity schemas for all entity types including new financial types
|
|
5
|
-
* from the finances repository.
|
|
6
|
-
*
|
|
7
|
-
* **Primary Usage:** Initialize schemas in the database via `npm run schema:init`
|
|
8
|
-
* This makes schemas transparent and queryable in the database, and is the recommended
|
|
9
|
-
* approach for production environments.
|
|
10
|
-
*
|
|
11
|
-
* **Fallback Usage:** These schemas are also used as runtime fallbacks when no schema
|
|
12
|
-
* is registered in the database. This provides convenience during development but should
|
|
13
|
-
* not be relied upon in production. See src/services/interpretation.ts for fallback logic.
|
|
14
|
-
*
|
|
15
|
-
* **Schema Initialization:**
|
|
16
|
-
* Run `npm run schema:init` to register all schemas from this file into the
|
|
17
|
-
* schema_registry database table. This ensures schemas are available in the database
|
|
18
|
-
* and eliminates the need for runtime fallbacks.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
import type { SchemaDefinition, ReducerConfig } from "./schema_registry.js";
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Metadata for entity schemas
|
|
25
|
-
* Contains human-readable labels, descriptions, categories, and aliases
|
|
26
|
-
*/
|
|
27
|
-
export interface EntitySchemaMetadata {
|
|
28
|
-
label: string;
|
|
29
|
-
description: string;
|
|
30
|
-
category: "finance" | "productivity" | "knowledge" | "health" | "media";
|
|
31
|
-
aliases?: string[];
|
|
32
|
-
primaryProperties?: string[]; // Optional: can derive from required fields
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface EntitySchema {
|
|
36
|
-
entity_type: string;
|
|
37
|
-
schema_version: string;
|
|
38
|
-
metadata?: EntitySchemaMetadata;
|
|
39
|
-
schema_definition: SchemaDefinition;
|
|
40
|
-
reducer_config: ReducerConfig;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Default entity schemas for all entity types
|
|
45
|
-
* These are used as fallbacks when no schema is registered in the database.
|
|
46
|
-
*/
|
|
47
|
-
export const ENTITY_SCHEMAS: Record<string, EntitySchema> = {
|
|
48
|
-
holding: {
|
|
49
|
-
entity_type: "holding",
|
|
50
|
-
schema_version: "1.0",
|
|
51
|
-
metadata: {
|
|
52
|
-
label: "Holding",
|
|
53
|
-
description: "Portfolio position snapshots tracking asset holdings over time.",
|
|
54
|
-
category: "finance",
|
|
55
|
-
aliases: ["portfolio_position", "asset_holding"],
|
|
56
|
-
},
|
|
57
|
-
schema_definition: {
|
|
58
|
-
fields: {
|
|
59
|
-
schema_version: { type: "string", required: true },
|
|
60
|
-
snapshot_date: { type: "date", required: true },
|
|
61
|
-
asset_symbol: { type: "string", required: true },
|
|
62
|
-
asset_name: { type: "string", required: false },
|
|
63
|
-
asset_type: { type: "string", required: false },
|
|
64
|
-
quantity: { type: "number", required: true },
|
|
65
|
-
cost_basis_usd: { type: "number", required: false },
|
|
66
|
-
current_value_usd: { type: "number", required: true },
|
|
67
|
-
account_id: { type: "string", required: false },
|
|
68
|
-
account_type: { type: "string", required: false },
|
|
69
|
-
provider: { type: "string", required: false },
|
|
70
|
-
import_date: { type: "date", required: false },
|
|
71
|
-
import_source_file: { type: "string", required: false },
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
reducer_config: {
|
|
75
|
-
merge_policies: {
|
|
76
|
-
current_value_usd: { strategy: "last_write" },
|
|
77
|
-
quantity: { strategy: "last_write" },
|
|
78
|
-
snapshot_date: { strategy: "last_write" },
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
income: {
|
|
84
|
-
entity_type: "income",
|
|
85
|
-
schema_version: "1.0",
|
|
86
|
-
metadata: {
|
|
87
|
-
label: "Income",
|
|
88
|
-
description: "Income stream records from various sources.",
|
|
89
|
-
category: "finance",
|
|
90
|
-
aliases: ["earnings", "revenue"],
|
|
91
|
-
},
|
|
92
|
-
schema_definition: {
|
|
93
|
-
fields: {
|
|
94
|
-
schema_version: { type: "string", required: true },
|
|
95
|
-
income_date: { type: "date", required: true },
|
|
96
|
-
income_type: { type: "string", required: false },
|
|
97
|
-
source: { type: "string", required: true },
|
|
98
|
-
amount_usd: { type: "number", required: true },
|
|
99
|
-
amount_original: { type: "number", required: false },
|
|
100
|
-
currency_original: { type: "string", required: false },
|
|
101
|
-
description: { type: "string", required: false },
|
|
102
|
-
entity: { type: "string", required: false },
|
|
103
|
-
tax_year: { type: "number", required: true },
|
|
104
|
-
import_date: { type: "date", required: false },
|
|
105
|
-
import_source_file: { type: "string", required: false },
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
reducer_config: {
|
|
109
|
-
merge_policies: {
|
|
110
|
-
amount_usd: { strategy: "last_write" },
|
|
111
|
-
income_date: { strategy: "last_write" },
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
tax_event: {
|
|
117
|
-
entity_type: "tax_event",
|
|
118
|
-
schema_version: "1.0",
|
|
119
|
-
metadata: {
|
|
120
|
-
label: "Tax Event",
|
|
121
|
-
description: "Capital gains, losses, and tax-related transactions.",
|
|
122
|
-
category: "finance",
|
|
123
|
-
aliases: ["capital_gain", "tax_transaction"],
|
|
124
|
-
},
|
|
125
|
-
schema_definition: {
|
|
126
|
-
fields: {
|
|
127
|
-
schema_version: { type: "string", required: true },
|
|
128
|
-
event_date: { type: "date", required: true },
|
|
129
|
-
event_type: { type: "string", required: false },
|
|
130
|
-
asset_symbol: { type: "string", required: true },
|
|
131
|
-
quantity: { type: "number", required: false },
|
|
132
|
-
cost_basis_usd: { type: "number", required: false },
|
|
133
|
-
proceeds_usd: { type: "number", required: false },
|
|
134
|
-
gain_loss_usd: { type: "number", required: true },
|
|
135
|
-
tax_year: { type: "number", required: true },
|
|
136
|
-
jurisdiction: { type: "string", required: false },
|
|
137
|
-
description: { type: "string", required: false },
|
|
138
|
-
import_date: { type: "date", required: false },
|
|
139
|
-
import_source_file: { type: "string", required: false },
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
reducer_config: {
|
|
143
|
-
merge_policies: {
|
|
144
|
-
gain_loss_usd: { strategy: "last_write" },
|
|
145
|
-
event_date: { strategy: "last_write" },
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
|
|
150
|
-
crypto_transaction: {
|
|
151
|
-
entity_type: "crypto_transaction",
|
|
152
|
-
schema_version: "1.0",
|
|
153
|
-
metadata: {
|
|
154
|
-
label: "Crypto Transaction",
|
|
155
|
-
description: "On-chain cryptocurrency transactions.",
|
|
156
|
-
category: "finance",
|
|
157
|
-
aliases: ["blockchain_transaction", "crypto_tx"],
|
|
158
|
-
},
|
|
159
|
-
schema_definition: {
|
|
160
|
-
fields: {
|
|
161
|
-
schema_version: { type: "string", required: true },
|
|
162
|
-
transaction_date: { type: "date", required: true },
|
|
163
|
-
transaction_type: { type: "string", required: false },
|
|
164
|
-
blockchain: { type: "string", required: false },
|
|
165
|
-
from_address: { type: "string", required: false },
|
|
166
|
-
to_address: { type: "string", required: false },
|
|
167
|
-
asset_symbol: { type: "string", required: true },
|
|
168
|
-
quantity: { type: "number", required: false },
|
|
169
|
-
value_usd: { type: "number", required: true },
|
|
170
|
-
fee_usd: { type: "number", required: false },
|
|
171
|
-
tx_hash: { type: "string", required: true },
|
|
172
|
-
wallet_id: { type: "string", required: false },
|
|
173
|
-
import_date: { type: "date", required: false },
|
|
174
|
-
import_source_file: { type: "string", required: false },
|
|
175
|
-
},
|
|
176
|
-
},
|
|
177
|
-
reducer_config: {
|
|
178
|
-
merge_policies: {
|
|
179
|
-
tx_hash: { strategy: "last_write" },
|
|
180
|
-
value_usd: { strategy: "last_write" },
|
|
181
|
-
},
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
|
-
|
|
185
|
-
liability: {
|
|
186
|
-
entity_type: "liability",
|
|
187
|
-
schema_version: "1.0",
|
|
188
|
-
metadata: {
|
|
189
|
-
label: "Liability",
|
|
190
|
-
description: "Debt and obligation tracking.",
|
|
191
|
-
category: "finance",
|
|
192
|
-
aliases: ["debt", "obligation"],
|
|
193
|
-
},
|
|
194
|
-
schema_definition: {
|
|
195
|
-
fields: {
|
|
196
|
-
schema_version: { type: "string", required: true },
|
|
197
|
-
name: { type: "string", required: true },
|
|
198
|
-
liability_type: { type: "string", required: false },
|
|
199
|
-
amount_usd: { type: "number", required: true },
|
|
200
|
-
amount_original: { type: "number", required: false },
|
|
201
|
-
currency_original: { type: "string", required: false },
|
|
202
|
-
snapshot_date: { type: "date", required: true },
|
|
203
|
-
notes: { type: "string", required: false },
|
|
204
|
-
import_date: { type: "date", required: false },
|
|
205
|
-
import_source_file: { type: "string", required: false },
|
|
206
|
-
},
|
|
207
|
-
},
|
|
208
|
-
reducer_config: {
|
|
209
|
-
merge_policies: {
|
|
210
|
-
amount_usd: { strategy: "last_write" },
|
|
211
|
-
snapshot_date: { strategy: "last_write" },
|
|
212
|
-
},
|
|
213
|
-
},
|
|
214
|
-
},
|
|
215
|
-
|
|
216
|
-
flow: {
|
|
217
|
-
entity_type: "flow",
|
|
218
|
-
schema_version: "1.0",
|
|
219
|
-
metadata: {
|
|
220
|
-
label: "Flow",
|
|
221
|
-
description: "Cash flow tracking for income and expenses over time.",
|
|
222
|
-
category: "finance",
|
|
223
|
-
aliases: ["cash_flow", "money_flow"],
|
|
224
|
-
},
|
|
225
|
-
schema_definition: {
|
|
226
|
-
fields: {
|
|
227
|
-
schema_version: { type: "string", required: true },
|
|
228
|
-
flow_name: { type: "string", required: true },
|
|
229
|
-
flow_date: { type: "date", required: true },
|
|
230
|
-
year: { type: "number", required: false },
|
|
231
|
-
timeline: { type: "string", required: false },
|
|
232
|
-
amount_usd: { type: "number", required: true },
|
|
233
|
-
amount_original: { type: "number", required: false },
|
|
234
|
-
currency_original: { type: "string", required: false },
|
|
235
|
-
for_cash_flow: { type: "boolean", required: false },
|
|
236
|
-
party: { type: "string", required: false },
|
|
237
|
-
flow_type: { type: "string", required: false },
|
|
238
|
-
location: { type: "string", required: false },
|
|
239
|
-
category: { type: "string", required: false },
|
|
240
|
-
notes: { type: "string", required: false },
|
|
241
|
-
import_date: { type: "date", required: false },
|
|
242
|
-
import_source_file: { type: "string", required: false },
|
|
243
|
-
},
|
|
244
|
-
},
|
|
245
|
-
reducer_config: {
|
|
246
|
-
merge_policies: {
|
|
247
|
-
amount_usd: { strategy: "last_write" },
|
|
248
|
-
flow_date: { strategy: "last_write" },
|
|
249
|
-
},
|
|
250
|
-
},
|
|
251
|
-
},
|
|
252
|
-
|
|
253
|
-
insurance_policy: {
|
|
254
|
-
entity_type: "insurance_policy",
|
|
255
|
-
schema_version: "1.0",
|
|
256
|
-
metadata: {
|
|
257
|
-
label: "Insurance policy",
|
|
258
|
-
description: "Insurance policy records and coverage metadata.",
|
|
259
|
-
category: "finance",
|
|
260
|
-
aliases: ["policy", "insurance"],
|
|
261
|
-
},
|
|
262
|
-
schema_definition: {
|
|
263
|
-
fields: {
|
|
264
|
-
schema_version: { type: "string", required: true },
|
|
265
|
-
provider: { type: "string", required: false },
|
|
266
|
-
policy_number: { type: "string", required: false },
|
|
267
|
-
insured: { type: "string", required: false },
|
|
268
|
-
effective_date: { type: "date", required: false },
|
|
269
|
-
coverage: { type: "string", required: false },
|
|
270
|
-
import_date: { type: "date", required: false },
|
|
271
|
-
import_source_file: { type: "string", required: false },
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
reducer_config: {
|
|
275
|
-
merge_policies: {
|
|
276
|
-
effective_date: { strategy: "last_write" },
|
|
277
|
-
},
|
|
278
|
-
},
|
|
279
|
-
},
|
|
280
|
-
|
|
281
|
-
invoice: {
|
|
282
|
-
entity_type: "invoice",
|
|
283
|
-
schema_version: "1.0",
|
|
284
|
-
metadata: {
|
|
285
|
-
label: "Invoice",
|
|
286
|
-
description: "Money owed to you or vendors.",
|
|
287
|
-
category: "finance",
|
|
288
|
-
aliases: ["bill", "factura"],
|
|
289
|
-
},
|
|
290
|
-
schema_definition: {
|
|
291
|
-
fields: {
|
|
292
|
-
schema_version: { type: "string", required: true },
|
|
293
|
-
invoice_number: { type: "string", required: true },
|
|
294
|
-
invoice_date: { type: "date", required: true },
|
|
295
|
-
amount_due: { type: "number", required: true },
|
|
296
|
-
currency: { type: "string", required: true },
|
|
297
|
-
date_due: { type: "date", required: false },
|
|
298
|
-
vendor_name: { type: "string", required: false, preserveCase: true },
|
|
299
|
-
customer_name: { type: "string", required: false, preserveCase: true },
|
|
300
|
-
tax_amount: { type: "number", required: false },
|
|
301
|
-
tax_rate: { type: "string", required: false },
|
|
302
|
-
subtotal: { type: "number", required: false },
|
|
303
|
-
items: { type: "array", required: false },
|
|
304
|
-
description: { type: "string", required: false, preserveCase: true },
|
|
305
|
-
notes: { type: "string", required: false, preserveCase: true },
|
|
306
|
-
import_date: { type: "date", required: false },
|
|
307
|
-
import_source_file: { type: "string", required: false },
|
|
308
|
-
},
|
|
309
|
-
},
|
|
310
|
-
reducer_config: {
|
|
311
|
-
merge_policies: {
|
|
312
|
-
amount_due: { strategy: "last_write" },
|
|
313
|
-
invoice_date: { strategy: "last_write" },
|
|
314
|
-
date_due: { strategy: "last_write" },
|
|
315
|
-
},
|
|
316
|
-
},
|
|
317
|
-
},
|
|
318
|
-
|
|
319
|
-
receipt: {
|
|
320
|
-
entity_type: "receipt",
|
|
321
|
-
schema_version: "1.0",
|
|
322
|
-
metadata: {
|
|
323
|
-
label: "Receipt",
|
|
324
|
-
description: "Proof-of-purchase documents.",
|
|
325
|
-
category: "finance",
|
|
326
|
-
aliases: ["proof_of_purchase", "recibo", "comprobante"],
|
|
327
|
-
},
|
|
328
|
-
schema_definition: {
|
|
329
|
-
fields: {
|
|
330
|
-
schema_version: { type: "string", required: true },
|
|
331
|
-
merchant_name: { type: "string", required: true },
|
|
332
|
-
amount_total: { type: "number", required: true },
|
|
333
|
-
currency: { type: "string", required: true },
|
|
334
|
-
date_purchased: { type: "date", required: true },
|
|
335
|
-
receipt_number: { type: "string", required: false },
|
|
336
|
-
payment_method: { type: "string", required: false },
|
|
337
|
-
items: { type: "array", required: false },
|
|
338
|
-
tax_amount: { type: "number", required: false },
|
|
339
|
-
description: { type: "string", required: false },
|
|
340
|
-
notes: { type: "string", required: false },
|
|
341
|
-
import_date: { type: "date", required: false },
|
|
342
|
-
import_source_file: { type: "string", required: false },
|
|
343
|
-
// Optional fields matching common extraction output (transaction receipts, bank slips)
|
|
344
|
-
merchant: { type: "string", required: false },
|
|
345
|
-
amount: { type: "number", required: false },
|
|
346
|
-
transaction_date: { type: "date", required: false },
|
|
347
|
-
posting_date: { type: "date", required: false },
|
|
348
|
-
category: { type: "string", required: false },
|
|
349
|
-
account: { type: "string", required: false },
|
|
350
|
-
status: { type: "string", required: false },
|
|
351
|
-
transaction_id: { type: "string", required: false },
|
|
352
|
-
},
|
|
353
|
-
},
|
|
354
|
-
reducer_config: {
|
|
355
|
-
merge_policies: {
|
|
356
|
-
amount_total: { strategy: "last_write" },
|
|
357
|
-
date_purchased: { strategy: "last_write" },
|
|
358
|
-
},
|
|
359
|
-
},
|
|
360
|
-
},
|
|
361
|
-
|
|
362
|
-
purchase: {
|
|
363
|
-
entity_type: "purchase",
|
|
364
|
-
schema_version: "1.0",
|
|
365
|
-
metadata: {
|
|
366
|
-
label: "Purchase",
|
|
367
|
-
description: "Planned and completed purchase tracking.",
|
|
368
|
-
category: "productivity",
|
|
369
|
-
aliases: ["buy", "acquisition"],
|
|
370
|
-
},
|
|
371
|
-
schema_definition: {
|
|
372
|
-
fields: {
|
|
373
|
-
schema_version: { type: "string", required: true },
|
|
374
|
-
item_name: { type: "string", required: true },
|
|
375
|
-
status: { type: "string", required: true },
|
|
376
|
-
location: { type: "string", required: false },
|
|
377
|
-
priority: { type: "string", required: false },
|
|
378
|
-
estimated_cost_usd: { type: "number", required: false },
|
|
379
|
-
actual_cost_usd: { type: "number", required: false },
|
|
380
|
-
currency: { type: "string", required: false },
|
|
381
|
-
category: { type: "string", required: false },
|
|
382
|
-
vendor: { type: "string", required: false },
|
|
383
|
-
created_date: { type: "date", required: true },
|
|
384
|
-
completed_date: { type: "date", required: false },
|
|
385
|
-
notes: { type: "string", required: false },
|
|
386
|
-
},
|
|
387
|
-
},
|
|
388
|
-
reducer_config: {
|
|
389
|
-
merge_policies: {
|
|
390
|
-
status: { strategy: "last_write" },
|
|
391
|
-
actual_cost_usd: { strategy: "last_write" },
|
|
392
|
-
completed_date: { strategy: "last_write" },
|
|
393
|
-
},
|
|
394
|
-
},
|
|
395
|
-
},
|
|
396
|
-
|
|
397
|
-
transfer: {
|
|
398
|
-
entity_type: "transfer",
|
|
399
|
-
schema_version: "1.0",
|
|
400
|
-
metadata: {
|
|
401
|
-
label: "Transfer",
|
|
402
|
-
description: "Asset transfers between accounts.",
|
|
403
|
-
category: "finance",
|
|
404
|
-
aliases: ["asset_transfer", "account_transfer"],
|
|
405
|
-
},
|
|
406
|
-
schema_definition: {
|
|
407
|
-
fields: {
|
|
408
|
-
schema_version: { type: "string", required: true },
|
|
409
|
-
name: { type: "string", required: true },
|
|
410
|
-
status: { type: "string", required: false },
|
|
411
|
-
amount: { type: "number", required: false },
|
|
412
|
-
origin_account: { type: "string", required: true },
|
|
413
|
-
destination_account: { type: "string", required: true },
|
|
414
|
-
created_time: { type: "date", required: true },
|
|
415
|
-
deposit_address: { type: "string", required: false },
|
|
416
|
-
fees: { type: "number", required: false },
|
|
417
|
-
transaction: { type: "string", required: false },
|
|
418
|
-
transactions: { type: "string", required: false },
|
|
419
|
-
notes: { type: "string", required: false },
|
|
420
|
-
import_date: { type: "date", required: false },
|
|
421
|
-
import_source_file: { type: "string", required: false },
|
|
422
|
-
},
|
|
423
|
-
},
|
|
424
|
-
reducer_config: {
|
|
425
|
-
merge_policies: {
|
|
426
|
-
status: { strategy: "last_write" },
|
|
427
|
-
created_time: { strategy: "last_write" },
|
|
428
|
-
},
|
|
429
|
-
},
|
|
430
|
-
},
|
|
431
|
-
|
|
432
|
-
wallet: {
|
|
433
|
-
entity_type: "wallet",
|
|
434
|
-
schema_version: "1.0",
|
|
435
|
-
metadata: {
|
|
436
|
-
label: "Wallet",
|
|
437
|
-
description: "Financial institutions and wallets containing accounts.",
|
|
438
|
-
category: "finance",
|
|
439
|
-
aliases: ["financial_institution", "institution"],
|
|
440
|
-
},
|
|
441
|
-
schema_definition: {
|
|
442
|
-
fields: {
|
|
443
|
-
schema_version: { type: "string", required: true },
|
|
444
|
-
name: { type: "string", required: true },
|
|
445
|
-
number: { type: "number", required: false },
|
|
446
|
-
accounts: { type: "string", required: false },
|
|
447
|
-
categories: { type: "string", required: false },
|
|
448
|
-
url: { type: "string", required: false },
|
|
449
|
-
urls: { type: "string", required: false },
|
|
450
|
-
investments: { type: "string", required: false },
|
|
451
|
-
status: { type: "string", required: true },
|
|
452
|
-
notes: { type: "string", required: false },
|
|
453
|
-
import_date: { type: "date", required: false },
|
|
454
|
-
import_source_file: { type: "string", required: false },
|
|
455
|
-
},
|
|
456
|
-
},
|
|
457
|
-
reducer_config: {
|
|
458
|
-
merge_policies: {
|
|
459
|
-
status: { strategy: "last_write" },
|
|
460
|
-
accounts: { strategy: "merge_array" },
|
|
461
|
-
},
|
|
462
|
-
},
|
|
463
|
-
},
|
|
464
|
-
|
|
465
|
-
tax_filing: {
|
|
466
|
-
entity_type: "tax_filing",
|
|
467
|
-
schema_version: "1.0",
|
|
468
|
-
metadata: {
|
|
469
|
-
label: "Tax Filing",
|
|
470
|
-
description: "Tax filing tracking and status.",
|
|
471
|
-
category: "finance",
|
|
472
|
-
aliases: ["tax_return", "filing"],
|
|
473
|
-
},
|
|
474
|
-
schema_definition: {
|
|
475
|
-
fields: {
|
|
476
|
-
schema_version: { type: "string", required: true },
|
|
477
|
-
name: { type: "string", required: true },
|
|
478
|
-
jurisdiction: { type: "string", required: true },
|
|
479
|
-
year: { type: "number", required: true },
|
|
480
|
-
filings: { type: "string", required: false },
|
|
481
|
-
status: { type: "string", required: true },
|
|
482
|
-
companies: { type: "string", required: false },
|
|
483
|
-
due_date: { type: "date", required: false },
|
|
484
|
-
filed_date: { type: "date", required: false },
|
|
485
|
-
amount_owed: { type: "number", required: false },
|
|
486
|
-
amount_paid: { type: "number", required: false },
|
|
487
|
-
currency: { type: "string", required: false },
|
|
488
|
-
notes: { type: "string", required: false },
|
|
489
|
-
import_date: { type: "date", required: false },
|
|
490
|
-
import_source_file: { type: "string", required: false },
|
|
491
|
-
},
|
|
492
|
-
},
|
|
493
|
-
reducer_config: {
|
|
494
|
-
merge_policies: {
|
|
495
|
-
status: { strategy: "last_write" },
|
|
496
|
-
filed_date: { strategy: "last_write" },
|
|
497
|
-
amount_paid: { strategy: "last_write" },
|
|
498
|
-
},
|
|
499
|
-
},
|
|
500
|
-
},
|
|
501
|
-
|
|
502
|
-
order: {
|
|
503
|
-
entity_type: "order",
|
|
504
|
-
schema_version: "1.0",
|
|
505
|
-
metadata: {
|
|
506
|
-
label: "Order",
|
|
507
|
-
description: "Trading orders and order tracking.",
|
|
508
|
-
category: "finance",
|
|
509
|
-
aliases: ["trade_order", "trading_order"],
|
|
510
|
-
},
|
|
511
|
-
schema_definition: {
|
|
512
|
-
fields: {
|
|
513
|
-
schema_version: { type: "string", required: true },
|
|
514
|
-
name: { type: "string", required: true },
|
|
515
|
-
status: { type: "string", required: false },
|
|
516
|
-
accounts: { type: "string", required: false },
|
|
517
|
-
amount: { type: "number", required: false },
|
|
518
|
-
asset_type: { type: "string", required: false },
|
|
519
|
-
order_type: { type: "string", required: true },
|
|
520
|
-
price: { type: "number", required: false },
|
|
521
|
-
url: { type: "string", required: false },
|
|
522
|
-
date: { type: "date", required: true },
|
|
523
|
-
notes: { type: "string", required: false },
|
|
524
|
-
import_date: { type: "date", required: false },
|
|
525
|
-
import_source_file: { type: "string", required: false },
|
|
526
|
-
},
|
|
527
|
-
},
|
|
528
|
-
reducer_config: {
|
|
529
|
-
merge_policies: {
|
|
530
|
-
status: { strategy: "last_write" },
|
|
531
|
-
date: { strategy: "last_write" },
|
|
532
|
-
},
|
|
533
|
-
},
|
|
534
|
-
},
|
|
535
|
-
|
|
536
|
-
fixed_cost: {
|
|
537
|
-
entity_type: "fixed_cost",
|
|
538
|
-
schema_version: "1.0",
|
|
539
|
-
metadata: {
|
|
540
|
-
label: "Fixed Cost",
|
|
541
|
-
description: "Recurring expenses and subscriptions.",
|
|
542
|
-
category: "finance",
|
|
543
|
-
aliases: ["recurring_expense", "subscription_cost"],
|
|
544
|
-
},
|
|
545
|
-
schema_definition: {
|
|
546
|
-
fields: {
|
|
547
|
-
schema_version: { type: "string", required: true },
|
|
548
|
-
merchant: { type: "string", required: true },
|
|
549
|
-
expense_name: { type: "string", required: true },
|
|
550
|
-
expense_type: { type: "string", required: false },
|
|
551
|
-
location: { type: "string", required: false },
|
|
552
|
-
frequency_per_year: { type: "number", required: true },
|
|
553
|
-
payment_amount_eur: { type: "number", required: false },
|
|
554
|
-
payment_amount_usd: { type: "number", required: false },
|
|
555
|
-
yearly_amount_eur: { type: "number", required: false },
|
|
556
|
-
yearly_amount_usd: { type: "number", required: false },
|
|
557
|
-
monthly_amount_eur: { type: "number", required: false },
|
|
558
|
-
monthly_amount_usd: { type: "number", required: false },
|
|
559
|
-
percent_fixed_expenses: { type: "number", required: false },
|
|
560
|
-
percent_net_income: { type: "number", required: false },
|
|
561
|
-
inflates: { type: "boolean", required: false },
|
|
562
|
-
status: { type: "string", required: true },
|
|
563
|
-
notes: { type: "string", required: false },
|
|
564
|
-
renews: { type: "string", required: false },
|
|
565
|
-
started: { type: "string", required: false },
|
|
566
|
-
ended: { type: "string", required: false },
|
|
567
|
-
payment_method: { type: "string", required: false },
|
|
568
|
-
import_date: { type: "date", required: false },
|
|
569
|
-
import_source_file: { type: "string", required: false },
|
|
570
|
-
},
|
|
571
|
-
},
|
|
572
|
-
reducer_config: {
|
|
573
|
-
merge_policies: {
|
|
574
|
-
status: { strategy: "last_write" },
|
|
575
|
-
payment_amount_usd: { strategy: "last_write" },
|
|
576
|
-
},
|
|
577
|
-
},
|
|
578
|
-
},
|
|
579
|
-
|
|
580
|
-
property: {
|
|
581
|
-
entity_type: "property",
|
|
582
|
-
schema_version: "1.0",
|
|
583
|
-
metadata: {
|
|
584
|
-
label: "Property",
|
|
585
|
-
description: "Real estate property tracking.",
|
|
586
|
-
category: "finance",
|
|
587
|
-
aliases: ["real_estate", "asset_property"],
|
|
588
|
-
},
|
|
589
|
-
schema_definition: {
|
|
590
|
-
fields: {
|
|
591
|
-
schema_version: { type: "string", required: true },
|
|
592
|
-
name: { type: "string", required: true },
|
|
593
|
-
address: { type: "string", required: true },
|
|
594
|
-
type: { type: "string", required: false },
|
|
595
|
-
purchase_date: { type: "date", required: true },
|
|
596
|
-
purchase_price: { type: "number", required: false },
|
|
597
|
-
current_value: { type: "number", required: false },
|
|
598
|
-
currency: { type: "string", required: false },
|
|
599
|
-
notes: { type: "string", required: false },
|
|
600
|
-
import_date: { type: "date", required: false },
|
|
601
|
-
import_source_file: { type: "string", required: false },
|
|
602
|
-
},
|
|
603
|
-
},
|
|
604
|
-
reducer_config: {
|
|
605
|
-
merge_policies: {
|
|
606
|
-
current_value: { strategy: "last_write" },
|
|
607
|
-
purchase_date: { strategy: "last_write" },
|
|
608
|
-
},
|
|
609
|
-
},
|
|
610
|
-
},
|
|
611
|
-
|
|
612
|
-
balance: {
|
|
613
|
-
entity_type: "balance",
|
|
614
|
-
schema_version: "1.0",
|
|
615
|
-
metadata: {
|
|
616
|
-
label: "Balance",
|
|
617
|
-
description: "Account balance snapshots over time.",
|
|
618
|
-
category: "finance",
|
|
619
|
-
aliases: ["account_balance", "balance_snapshot"],
|
|
620
|
-
},
|
|
621
|
-
schema_definition: {
|
|
622
|
-
fields: {
|
|
623
|
-
schema_version: { type: "string", required: true },
|
|
624
|
-
snapshot_date: { type: "date", required: true },
|
|
625
|
-
account_id: { type: "string", required: true },
|
|
626
|
-
account_type: { type: "string", required: false },
|
|
627
|
-
account_name: { type: "string", required: false },
|
|
628
|
-
balance_usd: { type: "number", required: true },
|
|
629
|
-
balance_original: { type: "number", required: false },
|
|
630
|
-
currency_original: { type: "string", required: false },
|
|
631
|
-
provider: { type: "string", required: false },
|
|
632
|
-
import_date: { type: "date", required: false },
|
|
633
|
-
import_source_file: { type: "string", required: false },
|
|
634
|
-
},
|
|
635
|
-
},
|
|
636
|
-
reducer_config: {
|
|
637
|
-
merge_policies: {
|
|
638
|
-
balance_usd: { strategy: "last_write" },
|
|
639
|
-
snapshot_date: { strategy: "last_write" },
|
|
640
|
-
},
|
|
641
|
-
},
|
|
642
|
-
},
|
|
643
|
-
|
|
644
|
-
address: {
|
|
645
|
-
entity_type: "address",
|
|
646
|
-
schema_version: "1.0",
|
|
647
|
-
metadata: {
|
|
648
|
-
label: "Address",
|
|
649
|
-
description: "Physical and mailing addresses.",
|
|
650
|
-
category: "knowledge",
|
|
651
|
-
aliases: ["location", "mailing_address"],
|
|
652
|
-
},
|
|
653
|
-
schema_definition: {
|
|
654
|
-
fields: {
|
|
655
|
-
schema_version: { type: "string", required: true },
|
|
656
|
-
street: { type: "string", required: false },
|
|
657
|
-
city: { type: "string", required: false },
|
|
658
|
-
state: { type: "string", required: false },
|
|
659
|
-
postal_code: { type: "string", required: false },
|
|
660
|
-
country: { type: "string", required: false },
|
|
661
|
-
address_line_1: { type: "string", required: false },
|
|
662
|
-
address_line_2: { type: "string", required: false },
|
|
663
|
-
formatted_address: { type: "string", required: false },
|
|
664
|
-
latitude: { type: "number", required: false },
|
|
665
|
-
longitude: { type: "number", required: false },
|
|
666
|
-
notes: { type: "string", required: false },
|
|
667
|
-
import_date: { type: "date", required: false },
|
|
668
|
-
import_source_file: { type: "string", required: false },
|
|
669
|
-
},
|
|
670
|
-
},
|
|
671
|
-
reducer_config: {
|
|
672
|
-
merge_policies: {
|
|
673
|
-
formatted_address: { strategy: "highest_priority" },
|
|
674
|
-
latitude: { strategy: "last_write" },
|
|
675
|
-
longitude: { strategy: "last_write" },
|
|
676
|
-
},
|
|
677
|
-
},
|
|
678
|
-
},
|
|
679
|
-
|
|
680
|
-
company: {
|
|
681
|
-
entity_type: "company",
|
|
682
|
-
schema_version: "1.0",
|
|
683
|
-
metadata: {
|
|
684
|
-
label: "Company",
|
|
685
|
-
description: "Company and organization records.",
|
|
686
|
-
category: "knowledge",
|
|
687
|
-
aliases: ["organization", "business"],
|
|
688
|
-
},
|
|
689
|
-
schema_definition: {
|
|
690
|
-
fields: {
|
|
691
|
-
schema_version: { type: "string", required: true },
|
|
692
|
-
name: { type: "string", required: true, preserveCase: true },
|
|
693
|
-
legal_name: { type: "string", required: false, preserveCase: true },
|
|
694
|
-
website: { type: "string", required: false },
|
|
695
|
-
email: { type: "string", required: false },
|
|
696
|
-
phone: { type: "string", required: false },
|
|
697
|
-
address: { type: "string", required: false, preserveCase: true },
|
|
698
|
-
country: { type: "string", required: false, preserveCase: true },
|
|
699
|
-
industry: { type: "string", required: false },
|
|
700
|
-
type: { type: "string", required: false },
|
|
701
|
-
description: { type: "string", required: false, preserveCase: true },
|
|
702
|
-
notes: { type: "string", required: false, preserveCase: true },
|
|
703
|
-
external_id: { type: "string", required: false },
|
|
704
|
-
import_date: { type: "date", required: false },
|
|
705
|
-
import_source_file: { type: "string", required: false },
|
|
706
|
-
},
|
|
707
|
-
},
|
|
708
|
-
reducer_config: {
|
|
709
|
-
merge_policies: {
|
|
710
|
-
name: { strategy: "highest_priority" },
|
|
711
|
-
legal_name: { strategy: "highest_priority" },
|
|
712
|
-
website: { strategy: "highest_priority" },
|
|
713
|
-
email: { strategy: "highest_priority" },
|
|
714
|
-
},
|
|
715
|
-
},
|
|
716
|
-
},
|
|
717
|
-
|
|
718
|
-
person: {
|
|
719
|
-
entity_type: "person",
|
|
720
|
-
schema_version: "1.0",
|
|
721
|
-
metadata: {
|
|
722
|
-
label: "Person",
|
|
723
|
-
description: "Individual person records.",
|
|
724
|
-
category: "knowledge",
|
|
725
|
-
aliases: ["individual", "contact_person"],
|
|
726
|
-
},
|
|
727
|
-
schema_definition: {
|
|
728
|
-
fields: {
|
|
729
|
-
schema_version: { type: "string", required: true },
|
|
730
|
-
name: { type: "string", required: true, preserveCase: true },
|
|
731
|
-
first_name: { type: "string", required: false, preserveCase: true },
|
|
732
|
-
last_name: { type: "string", required: false, preserveCase: true },
|
|
733
|
-
email: { type: "string", required: false },
|
|
734
|
-
phone: { type: "string", required: false },
|
|
735
|
-
organization: { type: "string", required: false, preserveCase: true },
|
|
736
|
-
role: { type: "string", required: false },
|
|
737
|
-
address: { type: "string", required: false, preserveCase: true },
|
|
738
|
-
country: { type: "string", required: false, preserveCase: true },
|
|
739
|
-
website: { type: "string", required: false },
|
|
740
|
-
notes: { type: "string", required: false },
|
|
741
|
-
external_id: { type: "string", required: false },
|
|
742
|
-
import_date: { type: "date", required: false },
|
|
743
|
-
import_source_file: { type: "string", required: false },
|
|
744
|
-
},
|
|
745
|
-
},
|
|
746
|
-
reducer_config: {
|
|
747
|
-
merge_policies: {
|
|
748
|
-
name: { strategy: "highest_priority" },
|
|
749
|
-
email: { strategy: "highest_priority" },
|
|
750
|
-
phone: { strategy: "highest_priority" },
|
|
751
|
-
external_id: { strategy: "highest_priority" },
|
|
752
|
-
},
|
|
753
|
-
},
|
|
754
|
-
},
|
|
755
|
-
|
|
756
|
-
location: {
|
|
757
|
-
entity_type: "location",
|
|
758
|
-
schema_version: "1.0",
|
|
759
|
-
metadata: {
|
|
760
|
-
label: "Location",
|
|
761
|
-
description: "Geographic locations and coordinates.",
|
|
762
|
-
category: "knowledge",
|
|
763
|
-
aliases: ["place", "geographic_location"],
|
|
764
|
-
},
|
|
765
|
-
schema_definition: {
|
|
766
|
-
fields: {
|
|
767
|
-
schema_version: { type: "string", required: true },
|
|
768
|
-
name: { type: "string", required: true },
|
|
769
|
-
address: { type: "string", required: false },
|
|
770
|
-
city: { type: "string", required: false },
|
|
771
|
-
state: { type: "string", required: false },
|
|
772
|
-
country: { type: "string", required: false },
|
|
773
|
-
postal_code: { type: "string", required: false },
|
|
774
|
-
latitude: { type: "number", required: false },
|
|
775
|
-
longitude: { type: "number", required: false },
|
|
776
|
-
type: { type: "string", required: false },
|
|
777
|
-
description: { type: "string", required: false },
|
|
778
|
-
notes: { type: "string", required: false },
|
|
779
|
-
import_date: { type: "date", required: false },
|
|
780
|
-
import_source_file: { type: "string", required: false },
|
|
781
|
-
},
|
|
782
|
-
},
|
|
783
|
-
reducer_config: {
|
|
784
|
-
merge_policies: {
|
|
785
|
-
name: { strategy: "highest_priority" },
|
|
786
|
-
latitude: { strategy: "last_write" },
|
|
787
|
-
longitude: { strategy: "last_write" },
|
|
788
|
-
},
|
|
789
|
-
},
|
|
790
|
-
},
|
|
791
|
-
|
|
792
|
-
conversation: {
|
|
793
|
-
entity_type: "conversation",
|
|
794
|
-
schema_version: "1.0",
|
|
795
|
-
metadata: {
|
|
796
|
-
label: "Conversation",
|
|
797
|
-
description: "Chat conversation container entity.",
|
|
798
|
-
category: "knowledge",
|
|
799
|
-
aliases: ["chat_conversation", "thread"],
|
|
800
|
-
},
|
|
801
|
-
schema_definition: {
|
|
802
|
-
fields: {
|
|
803
|
-
schema_version: { type: "string", required: true },
|
|
804
|
-
title: { type: "string", required: false, preserveCase: true },
|
|
805
|
-
},
|
|
806
|
-
},
|
|
807
|
-
reducer_config: {
|
|
808
|
-
merge_policies: {
|
|
809
|
-
title: { strategy: "highest_priority", tie_breaker: "source_priority" },
|
|
810
|
-
},
|
|
811
|
-
},
|
|
812
|
-
},
|
|
813
|
-
|
|
814
|
-
agent_message: {
|
|
815
|
-
entity_type: "agent_message",
|
|
816
|
-
schema_version: "1.0",
|
|
817
|
-
metadata: {
|
|
818
|
-
label: "Agent Message",
|
|
819
|
-
description: "Message entity representing one chat turn.",
|
|
820
|
-
category: "knowledge",
|
|
821
|
-
aliases: ["chat_message", "message"],
|
|
822
|
-
},
|
|
823
|
-
schema_definition: {
|
|
824
|
-
fields: {
|
|
825
|
-
schema_version: { type: "string", required: true },
|
|
826
|
-
role: { type: "string", required: true },
|
|
827
|
-
content: { type: "string", required: true, preserveCase: true },
|
|
828
|
-
turn_key: { type: "string", required: false },
|
|
829
|
-
},
|
|
830
|
-
},
|
|
831
|
-
reducer_config: {
|
|
832
|
-
merge_policies: {
|
|
833
|
-
role: { strategy: "last_write" },
|
|
834
|
-
content: { strategy: "last_write" },
|
|
835
|
-
turn_key: { strategy: "last_write" },
|
|
836
|
-
},
|
|
837
|
-
},
|
|
838
|
-
},
|
|
839
|
-
|
|
840
|
-
relationship: {
|
|
841
|
-
entity_type: "relationship",
|
|
842
|
-
schema_version: "1.0",
|
|
843
|
-
metadata: {
|
|
844
|
-
label: "Relationship",
|
|
845
|
-
description: "Relationships between entities.",
|
|
846
|
-
category: "knowledge",
|
|
847
|
-
aliases: ["connection", "link"],
|
|
848
|
-
},
|
|
849
|
-
schema_definition: {
|
|
850
|
-
fields: {
|
|
851
|
-
schema_version: { type: "string", required: true },
|
|
852
|
-
source_entity_id: { type: "string", required: true },
|
|
853
|
-
target_entity_id: { type: "string", required: true },
|
|
854
|
-
relationship_type: { type: "string", required: true },
|
|
855
|
-
description: { type: "string", required: false },
|
|
856
|
-
started_date: { type: "date", required: false },
|
|
857
|
-
ended_date: { type: "date", required: false },
|
|
858
|
-
notes: { type: "string", required: false },
|
|
859
|
-
import_date: { type: "date", required: false },
|
|
860
|
-
import_source_file: { type: "string", required: false },
|
|
861
|
-
},
|
|
862
|
-
},
|
|
863
|
-
reducer_config: {
|
|
864
|
-
merge_policies: {
|
|
865
|
-
relationship_type: { strategy: "highest_priority" },
|
|
866
|
-
started_date: { strategy: "last_write" },
|
|
867
|
-
ended_date: { strategy: "last_write" },
|
|
868
|
-
},
|
|
869
|
-
},
|
|
870
|
-
},
|
|
871
|
-
|
|
872
|
-
task: {
|
|
873
|
-
entity_type: "task",
|
|
874
|
-
schema_version: "1.0",
|
|
875
|
-
metadata: {
|
|
876
|
-
label: "Task",
|
|
877
|
-
description: "Action items with status.",
|
|
878
|
-
category: "productivity",
|
|
879
|
-
aliases: ["todo", "action_item"],
|
|
880
|
-
},
|
|
881
|
-
schema_definition: {
|
|
882
|
-
fields: {
|
|
883
|
-
schema_version: { type: "string", required: true },
|
|
884
|
-
title: { type: "string", required: true, preserveCase: true },
|
|
885
|
-
description: { type: "string", required: false, preserveCase: true },
|
|
886
|
-
status: { type: "string", required: true },
|
|
887
|
-
priority: { type: "string", required: false },
|
|
888
|
-
assignee: { type: "string", required: false },
|
|
889
|
-
project_id: { type: "string", required: false },
|
|
890
|
-
due_date: { type: "date", required: false },
|
|
891
|
-
completed_date: { type: "date", required: false },
|
|
892
|
-
created_date: { type: "date", required: false },
|
|
893
|
-
updated_date: { type: "date", required: false },
|
|
894
|
-
created_at: {
|
|
895
|
-
type: "date",
|
|
896
|
-
required: false,
|
|
897
|
-
converters: [
|
|
898
|
-
{
|
|
899
|
-
from: "number",
|
|
900
|
-
to: "date",
|
|
901
|
-
function: "timestamp_nanos_to_iso",
|
|
902
|
-
deterministic: true,
|
|
903
|
-
},
|
|
904
|
-
],
|
|
905
|
-
},
|
|
906
|
-
updated_at: {
|
|
907
|
-
type: "date",
|
|
908
|
-
required: false,
|
|
909
|
-
converters: [
|
|
910
|
-
{
|
|
911
|
-
from: "number",
|
|
912
|
-
to: "date",
|
|
913
|
-
function: "timestamp_nanos_to_iso",
|
|
914
|
-
deterministic: true,
|
|
915
|
-
},
|
|
916
|
-
],
|
|
917
|
-
},
|
|
918
|
-
tags: { type: "string", required: false },
|
|
919
|
-
notes: { type: "string", required: false, preserveCase: true },
|
|
920
|
-
import_date: { type: "date", required: false },
|
|
921
|
-
import_source_file: { type: "string", required: false },
|
|
922
|
-
},
|
|
923
|
-
},
|
|
924
|
-
reducer_config: {
|
|
925
|
-
merge_policies: {
|
|
926
|
-
status: { strategy: "last_write" },
|
|
927
|
-
completed_date: { strategy: "last_write" },
|
|
928
|
-
notes: { strategy: "highest_priority", tie_breaker: "source_priority" },
|
|
929
|
-
description: { strategy: "highest_priority", tie_breaker: "source_priority" },
|
|
930
|
-
updated_date: { strategy: "last_write" },
|
|
931
|
-
created_at: { strategy: "last_write" },
|
|
932
|
-
updated_at: { strategy: "last_write" },
|
|
933
|
-
},
|
|
934
|
-
},
|
|
935
|
-
},
|
|
936
|
-
|
|
937
|
-
project: {
|
|
938
|
-
entity_type: "project",
|
|
939
|
-
schema_version: "1.0",
|
|
940
|
-
metadata: {
|
|
941
|
-
label: "Project",
|
|
942
|
-
description: "Multi-step initiatives.",
|
|
943
|
-
category: "productivity",
|
|
944
|
-
aliases: ["initiative", "program"],
|
|
945
|
-
},
|
|
946
|
-
schema_definition: {
|
|
947
|
-
fields: {
|
|
948
|
-
schema_version: { type: "string", required: true },
|
|
949
|
-
name: { type: "string", required: true },
|
|
950
|
-
description: { type: "string", required: false },
|
|
951
|
-
status: { type: "string", required: true },
|
|
952
|
-
owner: { type: "string", required: false },
|
|
953
|
-
start_date: { type: "date", required: false },
|
|
954
|
-
end_date: { type: "date", required: false },
|
|
955
|
-
created_date: { type: "date", required: false },
|
|
956
|
-
updated_date: { type: "date", required: false },
|
|
957
|
-
tags: { type: "string", required: false },
|
|
958
|
-
notes: { type: "string", required: false },
|
|
959
|
-
import_date: { type: "date", required: false },
|
|
960
|
-
import_source_file: { type: "string", required: false },
|
|
961
|
-
},
|
|
962
|
-
},
|
|
963
|
-
reducer_config: {
|
|
964
|
-
merge_policies: {
|
|
965
|
-
status: { strategy: "last_write" },
|
|
966
|
-
end_date: { strategy: "last_write" },
|
|
967
|
-
updated_date: { strategy: "last_write" },
|
|
968
|
-
},
|
|
969
|
-
},
|
|
970
|
-
},
|
|
971
|
-
|
|
972
|
-
goal: {
|
|
973
|
-
entity_type: "goal",
|
|
974
|
-
schema_version: "1.0",
|
|
975
|
-
metadata: {
|
|
976
|
-
label: "Goal",
|
|
977
|
-
description: "Target metrics and OKRs to achieve.",
|
|
978
|
-
category: "productivity",
|
|
979
|
-
aliases: ["target", "okr", "key_result"],
|
|
980
|
-
},
|
|
981
|
-
schema_definition: {
|
|
982
|
-
fields: {
|
|
983
|
-
schema_version: { type: "string", required: true },
|
|
984
|
-
title: { type: "string", required: true },
|
|
985
|
-
description: { type: "string", required: false },
|
|
986
|
-
status: { type: "string", required: true },
|
|
987
|
-
target_date: { type: "date", required: false },
|
|
988
|
-
completed_date: { type: "date", required: false },
|
|
989
|
-
created_date: { type: "date", required: false },
|
|
990
|
-
updated_date: { type: "date", required: false },
|
|
991
|
-
metrics: { type: "string", required: false },
|
|
992
|
-
notes: { type: "string", required: false },
|
|
993
|
-
import_date: { type: "date", required: false },
|
|
994
|
-
import_source_file: { type: "string", required: false },
|
|
995
|
-
},
|
|
996
|
-
},
|
|
997
|
-
reducer_config: {
|
|
998
|
-
merge_policies: {
|
|
999
|
-
status: { strategy: "last_write" },
|
|
1000
|
-
completed_date: { strategy: "last_write" },
|
|
1001
|
-
updated_date: { strategy: "last_write" },
|
|
1002
|
-
},
|
|
1003
|
-
},
|
|
1004
|
-
},
|
|
1005
|
-
|
|
1006
|
-
email: {
|
|
1007
|
-
entity_type: "email",
|
|
1008
|
-
schema_version: "1.0",
|
|
1009
|
-
metadata: {
|
|
1010
|
-
label: "Email",
|
|
1011
|
-
description: "Email-specific messages with threads and subjects.",
|
|
1012
|
-
category: "knowledge",
|
|
1013
|
-
aliases: ["email_message", "email_thread"],
|
|
1014
|
-
},
|
|
1015
|
-
schema_definition: {
|
|
1016
|
-
fields: {
|
|
1017
|
-
schema_version: { type: "string", required: true },
|
|
1018
|
-
subject: { type: "string", required: false },
|
|
1019
|
-
from: { type: "string", required: true },
|
|
1020
|
-
to: { type: "string", required: false },
|
|
1021
|
-
cc: { type: "string", required: false },
|
|
1022
|
-
bcc: { type: "string", required: false },
|
|
1023
|
-
body: { type: "string", required: false },
|
|
1024
|
-
sent_at: { type: "date", required: true },
|
|
1025
|
-
received_at: { type: "date", required: false },
|
|
1026
|
-
thread_id: { type: "string", required: false },
|
|
1027
|
-
message_id: { type: "string", required: false },
|
|
1028
|
-
status: { type: "string", required: false },
|
|
1029
|
-
tags: { type: "string", required: false },
|
|
1030
|
-
notes: { type: "string", required: false },
|
|
1031
|
-
import_date: { type: "date", required: false },
|
|
1032
|
-
import_source_file: { type: "string", required: false },
|
|
1033
|
-
},
|
|
1034
|
-
},
|
|
1035
|
-
reducer_config: {
|
|
1036
|
-
merge_policies: {
|
|
1037
|
-
sent_at: { strategy: "last_write" },
|
|
1038
|
-
received_at: { strategy: "last_write" },
|
|
1039
|
-
body: { strategy: "highest_priority" },
|
|
1040
|
-
},
|
|
1041
|
-
},
|
|
1042
|
-
},
|
|
1043
|
-
|
|
1044
|
-
message: {
|
|
1045
|
-
entity_type: "message",
|
|
1046
|
-
schema_version: "1.0",
|
|
1047
|
-
metadata: {
|
|
1048
|
-
label: "Message",
|
|
1049
|
-
description: "Generic messages (DMs, SMS, chat) without email-specific structure.",
|
|
1050
|
-
category: "knowledge",
|
|
1051
|
-
aliases: ["dm", "sms", "chat_message"],
|
|
1052
|
-
},
|
|
1053
|
-
schema_definition: {
|
|
1054
|
-
fields: {
|
|
1055
|
-
schema_version: { type: "string", required: true },
|
|
1056
|
-
subject: { type: "string", required: false, preserveCase: true },
|
|
1057
|
-
sender: { type: "string", required: true },
|
|
1058
|
-
recipient: { type: "string", required: false },
|
|
1059
|
-
body: { type: "string", required: false, preserveCase: true },
|
|
1060
|
-
sent_at: { type: "date", required: true },
|
|
1061
|
-
thread_id: { type: "string", required: false },
|
|
1062
|
-
message_type: { type: "string", required: false },
|
|
1063
|
-
platform: { type: "string", required: false },
|
|
1064
|
-
status: { type: "string", required: false },
|
|
1065
|
-
notes: { type: "string", required: false },
|
|
1066
|
-
import_date: { type: "date", required: false },
|
|
1067
|
-
import_source_file: { type: "string", required: false },
|
|
1068
|
-
},
|
|
1069
|
-
},
|
|
1070
|
-
reducer_config: {
|
|
1071
|
-
merge_policies: {
|
|
1072
|
-
sent_at: { strategy: "last_write" },
|
|
1073
|
-
body: { strategy: "highest_priority" },
|
|
1074
|
-
},
|
|
1075
|
-
},
|
|
1076
|
-
},
|
|
1077
|
-
|
|
1078
|
-
note: {
|
|
1079
|
-
entity_type: "note",
|
|
1080
|
-
schema_version: "1.0",
|
|
1081
|
-
metadata: {
|
|
1082
|
-
label: "Note",
|
|
1083
|
-
description: "Free-form text, journals, scratchpads.",
|
|
1084
|
-
category: "productivity",
|
|
1085
|
-
aliases: ["journal", "memo", "nota"],
|
|
1086
|
-
},
|
|
1087
|
-
schema_definition: {
|
|
1088
|
-
fields: {
|
|
1089
|
-
schema_version: { type: "string", required: true },
|
|
1090
|
-
title: { type: "string", required: false, preserveCase: true },
|
|
1091
|
-
content: { type: "string", required: true, preserveCase: true },
|
|
1092
|
-
tags: { type: "string", required: false },
|
|
1093
|
-
source: { type: "string", required: false },
|
|
1094
|
-
created_date: { type: "date", required: false },
|
|
1095
|
-
updated_date: { type: "date", required: false },
|
|
1096
|
-
summary: { type: "string", required: false, preserveCase: true },
|
|
1097
|
-
notes: { type: "string", required: false, preserveCase: true },
|
|
1098
|
-
import_date: { type: "date", required: false },
|
|
1099
|
-
import_source_file: { type: "string", required: false },
|
|
1100
|
-
},
|
|
1101
|
-
},
|
|
1102
|
-
reducer_config: {
|
|
1103
|
-
merge_policies: {
|
|
1104
|
-
content: { strategy: "highest_priority" },
|
|
1105
|
-
updated_date: { strategy: "last_write" },
|
|
1106
|
-
},
|
|
1107
|
-
},
|
|
1108
|
-
},
|
|
1109
|
-
|
|
1110
|
-
dataset: {
|
|
1111
|
-
entity_type: "dataset",
|
|
1112
|
-
schema_version: "1.0",
|
|
1113
|
-
metadata: {
|
|
1114
|
-
label: "Dataset",
|
|
1115
|
-
description: "Tabular datasets produced from CSV or spreadsheet uploads.",
|
|
1116
|
-
category: "knowledge",
|
|
1117
|
-
primaryProperties: ["row_count", "source_file", "summary"],
|
|
1118
|
-
aliases: ["csv", "spreadsheet", "table", "dataset_file"],
|
|
1119
|
-
},
|
|
1120
|
-
schema_definition: {
|
|
1121
|
-
fields: {
|
|
1122
|
-
schema_version: { type: "string", required: true },
|
|
1123
|
-
row_count: { type: "number", required: false },
|
|
1124
|
-
source_file: { type: "string", required: false },
|
|
1125
|
-
summary: { type: "string", required: false },
|
|
1126
|
-
},
|
|
1127
|
-
},
|
|
1128
|
-
reducer_config: {
|
|
1129
|
-
merge_policies: {},
|
|
1130
|
-
},
|
|
1131
|
-
},
|
|
1132
|
-
|
|
1133
|
-
dataset_row: {
|
|
1134
|
-
entity_type: "dataset_row",
|
|
1135
|
-
schema_version: "1.0",
|
|
1136
|
-
metadata: {
|
|
1137
|
-
label: "Dataset Row",
|
|
1138
|
-
description: "Single row derived from a dataset upload.",
|
|
1139
|
-
category: "knowledge",
|
|
1140
|
-
primaryProperties: ["csv_origin", "row_index", "source_file"],
|
|
1141
|
-
aliases: ["table_row", "csv_row"],
|
|
1142
|
-
},
|
|
1143
|
-
schema_definition: {
|
|
1144
|
-
fields: {
|
|
1145
|
-
schema_version: { type: "string", required: true },
|
|
1146
|
-
csv_origin: { type: "string", required: false },
|
|
1147
|
-
row_index: { type: "number", required: false },
|
|
1148
|
-
source_file: { type: "string", required: false },
|
|
1149
|
-
},
|
|
1150
|
-
},
|
|
1151
|
-
reducer_config: {
|
|
1152
|
-
merge_policies: {},
|
|
1153
|
-
},
|
|
1154
|
-
},
|
|
1155
|
-
|
|
1156
|
-
event: {
|
|
1157
|
-
entity_type: "event",
|
|
1158
|
-
schema_version: "1.0",
|
|
1159
|
-
metadata: {
|
|
1160
|
-
label: "Event",
|
|
1161
|
-
description: "Meetings, appointments, scheduled interactions.",
|
|
1162
|
-
category: "productivity",
|
|
1163
|
-
aliases: ["meeting", "appointment", "calendar_event", "recurring_event"],
|
|
1164
|
-
},
|
|
1165
|
-
schema_definition: {
|
|
1166
|
-
fields: {
|
|
1167
|
-
schema_version: { type: "string", required: true },
|
|
1168
|
-
title: { type: "string", required: true },
|
|
1169
|
-
description: { type: "string", required: false },
|
|
1170
|
-
start_time: { type: "date", required: true },
|
|
1171
|
-
end_time: { type: "date", required: false },
|
|
1172
|
-
location: { type: "string", required: false },
|
|
1173
|
-
attendees: { type: "string", required: false },
|
|
1174
|
-
event_type: { type: "string", required: false },
|
|
1175
|
-
status: { type: "string", required: false },
|
|
1176
|
-
created_date: { type: "date", required: false },
|
|
1177
|
-
updated_date: { type: "date", required: false },
|
|
1178
|
-
notes: { type: "string", required: false },
|
|
1179
|
-
import_date: { type: "date", required: false },
|
|
1180
|
-
import_source_file: { type: "string", required: false },
|
|
1181
|
-
},
|
|
1182
|
-
},
|
|
1183
|
-
reducer_config: {
|
|
1184
|
-
merge_policies: {
|
|
1185
|
-
start_time: { strategy: "last_write" },
|
|
1186
|
-
end_time: { strategy: "last_write" },
|
|
1187
|
-
updated_date: { strategy: "last_write" },
|
|
1188
|
-
},
|
|
1189
|
-
},
|
|
1190
|
-
},
|
|
1191
|
-
|
|
1192
|
-
exercise: {
|
|
1193
|
-
entity_type: "exercise",
|
|
1194
|
-
schema_version: "1.0",
|
|
1195
|
-
metadata: {
|
|
1196
|
-
label: "Exercise",
|
|
1197
|
-
description: "Individual exercise activities or training sets (atomic unit).",
|
|
1198
|
-
category: "health",
|
|
1199
|
-
aliases: ["workout", "training_session", "activity"],
|
|
1200
|
-
},
|
|
1201
|
-
schema_definition: {
|
|
1202
|
-
fields: {
|
|
1203
|
-
schema_version: { type: "string", required: true },
|
|
1204
|
-
name: { type: "string", required: true },
|
|
1205
|
-
exercise_type: { type: "string", required: false },
|
|
1206
|
-
date: { type: "date", required: true },
|
|
1207
|
-
duration_minutes: { type: "number", required: false },
|
|
1208
|
-
sets: { type: "number", required: false },
|
|
1209
|
-
repetitions: { type: "number", required: false },
|
|
1210
|
-
weight: { type: "number", required: false },
|
|
1211
|
-
distance: { type: "number", required: false },
|
|
1212
|
-
calories: { type: "number", required: false },
|
|
1213
|
-
notes: { type: "string", required: false },
|
|
1214
|
-
import_date: { type: "date", required: false },
|
|
1215
|
-
import_source_file: { type: "string", required: false },
|
|
1216
|
-
},
|
|
1217
|
-
},
|
|
1218
|
-
reducer_config: {
|
|
1219
|
-
merge_policies: {
|
|
1220
|
-
date: { strategy: "last_write" },
|
|
1221
|
-
duration_minutes: { strategy: "last_write" },
|
|
1222
|
-
},
|
|
1223
|
-
},
|
|
1224
|
-
},
|
|
1225
|
-
|
|
1226
|
-
meal: {
|
|
1227
|
-
entity_type: "meal",
|
|
1228
|
-
schema_version: "1.0",
|
|
1229
|
-
metadata: {
|
|
1230
|
-
label: "Meal",
|
|
1231
|
-
description: "Food logs and nutrition captures.",
|
|
1232
|
-
category: "health",
|
|
1233
|
-
aliases: ["food_log", "nutrition"],
|
|
1234
|
-
},
|
|
1235
|
-
schema_definition: {
|
|
1236
|
-
fields: {
|
|
1237
|
-
schema_version: { type: "string", required: true },
|
|
1238
|
-
name: { type: "string", required: true },
|
|
1239
|
-
meal_type: { type: "string", required: false },
|
|
1240
|
-
date: { type: "date", required: true },
|
|
1241
|
-
calories: { type: "number", required: false },
|
|
1242
|
-
protein: { type: "number", required: false },
|
|
1243
|
-
carbs: { type: "number", required: false },
|
|
1244
|
-
fat: { type: "number", required: false },
|
|
1245
|
-
foods: { type: "string", required: false },
|
|
1246
|
-
notes: { type: "string", required: false },
|
|
1247
|
-
import_date: { type: "date", required: false },
|
|
1248
|
-
import_source_file: { type: "string", required: false },
|
|
1249
|
-
},
|
|
1250
|
-
},
|
|
1251
|
-
reducer_config: {
|
|
1252
|
-
merge_policies: {
|
|
1253
|
-
date: { strategy: "last_write" },
|
|
1254
|
-
calories: { strategy: "last_write" },
|
|
1255
|
-
},
|
|
1256
|
-
},
|
|
1257
|
-
},
|
|
1258
|
-
|
|
1259
|
-
transaction: {
|
|
1260
|
-
entity_type: "transaction",
|
|
1261
|
-
schema_version: "1.0",
|
|
1262
|
-
metadata: {
|
|
1263
|
-
label: "Transaction",
|
|
1264
|
-
description: "Individual debits/credits pulled from Plaid or uploads.",
|
|
1265
|
-
category: "finance",
|
|
1266
|
-
aliases: ["transactions", "txn", "expense", "purchase", "payment", "transaccion"],
|
|
1267
|
-
},
|
|
1268
|
-
schema_definition: {
|
|
1269
|
-
fields: {
|
|
1270
|
-
schema_version: { type: "string", required: true },
|
|
1271
|
-
posting_date: { type: "date", required: false },
|
|
1272
|
-
category: { type: "string", required: false },
|
|
1273
|
-
bank_provider: { type: "string", required: false },
|
|
1274
|
-
amount_original: { type: "number", required: false },
|
|
1275
|
-
},
|
|
1276
|
-
},
|
|
1277
|
-
reducer_config: {
|
|
1278
|
-
merge_policies: {
|
|
1279
|
-
posting_date: { strategy: "last_write" },
|
|
1280
|
-
category: { strategy: "last_write" },
|
|
1281
|
-
},
|
|
1282
|
-
},
|
|
1283
|
-
},
|
|
1284
|
-
|
|
1285
|
-
contact: {
|
|
1286
|
-
entity_type: "contact",
|
|
1287
|
-
schema_version: "1.0",
|
|
1288
|
-
metadata: {
|
|
1289
|
-
label: "Contact",
|
|
1290
|
-
description: "People and organization records.",
|
|
1291
|
-
category: "knowledge",
|
|
1292
|
-
aliases: ["person", "lead"],
|
|
1293
|
-
},
|
|
1294
|
-
schema_definition: {
|
|
1295
|
-
fields: {
|
|
1296
|
-
schema_version: { type: "string", required: true },
|
|
1297
|
-
name: { type: "string", required: false },
|
|
1298
|
-
email: { type: "string", required: false },
|
|
1299
|
-
phone: { type: "string", required: false },
|
|
1300
|
-
organization: { type: "string", required: false },
|
|
1301
|
-
role: { type: "string", required: false },
|
|
1302
|
-
type: { type: "string", required: false },
|
|
1303
|
-
contact_type: { type: "string", required: false },
|
|
1304
|
-
category: { type: "string", required: false },
|
|
1305
|
-
platform: { type: "string", required: false },
|
|
1306
|
-
address: { type: "string", required: false },
|
|
1307
|
-
country: { type: "string", required: false },
|
|
1308
|
-
website: { type: "string", required: false },
|
|
1309
|
-
notes: { type: "string", required: false },
|
|
1310
|
-
contact_id: { type: "string", required: false },
|
|
1311
|
-
external_id: { type: "string", required: false },
|
|
1312
|
-
first_contact_date: { type: "date", required: false },
|
|
1313
|
-
last_contact_date: { type: "date", required: false },
|
|
1314
|
-
created_date: { type: "date", required: false },
|
|
1315
|
-
updated_date: { type: "date", required: false },
|
|
1316
|
-
},
|
|
1317
|
-
},
|
|
1318
|
-
reducer_config: {
|
|
1319
|
-
merge_policies: {
|
|
1320
|
-
name: { strategy: "highest_priority" },
|
|
1321
|
-
email: { strategy: "highest_priority" },
|
|
1322
|
-
phone: { strategy: "highest_priority" },
|
|
1323
|
-
external_id: { strategy: "highest_priority" },
|
|
1324
|
-
last_contact_date: { strategy: "last_write" },
|
|
1325
|
-
updated_date: { strategy: "last_write" },
|
|
1326
|
-
},
|
|
1327
|
-
},
|
|
1328
|
-
},
|
|
1329
|
-
|
|
1330
|
-
contract: {
|
|
1331
|
-
entity_type: "contract",
|
|
1332
|
-
schema_version: "1.0",
|
|
1333
|
-
metadata: {
|
|
1334
|
-
label: "Contract",
|
|
1335
|
-
description: "Legal contracts and agreements.",
|
|
1336
|
-
category: "finance",
|
|
1337
|
-
aliases: ["agreement", "legal_document", "contrato"],
|
|
1338
|
-
},
|
|
1339
|
-
schema_definition: {
|
|
1340
|
-
fields: {
|
|
1341
|
-
schema_version: { type: "string", required: true },
|
|
1342
|
-
name: { type: "string", required: false },
|
|
1343
|
-
signed_date: { type: "date", required: false },
|
|
1344
|
-
companies: { type: "string", required: false },
|
|
1345
|
-
files: { type: "string", required: false },
|
|
1346
|
-
type: { type: "string", required: false },
|
|
1347
|
-
notes: { type: "string", required: false },
|
|
1348
|
-
},
|
|
1349
|
-
},
|
|
1350
|
-
reducer_config: {
|
|
1351
|
-
merge_policies: {
|
|
1352
|
-
signed_date: { strategy: "last_write" },
|
|
1353
|
-
files: { strategy: "merge_array" },
|
|
1354
|
-
},
|
|
1355
|
-
},
|
|
1356
|
-
},
|
|
1357
|
-
|
|
1358
|
-
account: {
|
|
1359
|
-
entity_type: "account",
|
|
1360
|
-
schema_version: "1.0",
|
|
1361
|
-
metadata: {
|
|
1362
|
-
label: "Account",
|
|
1363
|
-
description: "Financial account snapshots (bank, brokerage, wallet).",
|
|
1364
|
-
category: "finance",
|
|
1365
|
-
aliases: ["bank_account", "wallet", "ledger_account"],
|
|
1366
|
-
},
|
|
1367
|
-
schema_definition: {
|
|
1368
|
-
fields: {
|
|
1369
|
-
schema_version: { type: "string", required: true },
|
|
1370
|
-
wallet: { type: "string", required: false },
|
|
1371
|
-
wallet_name: { type: "string", required: false },
|
|
1372
|
-
number: { type: "string", required: false },
|
|
1373
|
-
categories: { type: "string", required: false },
|
|
1374
|
-
denomination: { type: "string", required: false },
|
|
1375
|
-
status: { type: "string", required: false },
|
|
1376
|
-
notes: { type: "string", required: false },
|
|
1377
|
-
},
|
|
1378
|
-
},
|
|
1379
|
-
reducer_config: {
|
|
1380
|
-
merge_policies: {
|
|
1381
|
-
status: { strategy: "last_write" },
|
|
1382
|
-
categories: { strategy: "merge_array" },
|
|
1383
|
-
},
|
|
1384
|
-
},
|
|
1385
|
-
},
|
|
1386
|
-
|
|
1387
|
-
belief: {
|
|
1388
|
-
entity_type: "belief",
|
|
1389
|
-
schema_version: "1.0",
|
|
1390
|
-
metadata: {
|
|
1391
|
-
label: "Belief",
|
|
1392
|
-
description: "Personal beliefs and assumptions tracking.",
|
|
1393
|
-
category: "knowledge",
|
|
1394
|
-
aliases: ["assumption", "conviction"],
|
|
1395
|
-
},
|
|
1396
|
-
schema_definition: {
|
|
1397
|
-
fields: {
|
|
1398
|
-
schema_version: { type: "string", required: true },
|
|
1399
|
-
belief_id: { type: "string", required: false },
|
|
1400
|
-
name: { type: "string", required: true },
|
|
1401
|
-
categories: { type: "string", required: false },
|
|
1402
|
-
confidence_level: { type: "string", required: false },
|
|
1403
|
-
asset_types: { type: "string", required: false },
|
|
1404
|
-
date: { type: "date", required: false },
|
|
1405
|
-
events: { type: "string", required: false },
|
|
1406
|
-
notes: { type: "string", required: false },
|
|
1407
|
-
import_date: { type: "date", required: false },
|
|
1408
|
-
import_source_file: { type: "string", required: false },
|
|
1409
|
-
},
|
|
1410
|
-
},
|
|
1411
|
-
reducer_config: {
|
|
1412
|
-
merge_policies: {
|
|
1413
|
-
name: { strategy: "last_write" },
|
|
1414
|
-
confidence_level: { strategy: "last_write" },
|
|
1415
|
-
categories: { strategy: "merge_array" },
|
|
1416
|
-
},
|
|
1417
|
-
},
|
|
1418
|
-
},
|
|
1419
|
-
|
|
1420
|
-
habit: {
|
|
1421
|
-
entity_type: "habit",
|
|
1422
|
-
schema_version: "1.0",
|
|
1423
|
-
metadata: {
|
|
1424
|
-
label: "Habit",
|
|
1425
|
-
description: "Habit tracking for recurring behaviors and daily practices.",
|
|
1426
|
-
category: "health",
|
|
1427
|
-
aliases: ["daily_habit", "practice", "behavior"],
|
|
1428
|
-
},
|
|
1429
|
-
schema_definition: {
|
|
1430
|
-
fields: {
|
|
1431
|
-
schema_version: { type: "string", required: true },
|
|
1432
|
-
habit_id: { type: "string", required: false },
|
|
1433
|
-
name: { type: "string", required: true },
|
|
1434
|
-
description: { type: "string", required: false },
|
|
1435
|
-
target_frequency: { type: "string", required: false },
|
|
1436
|
-
current_streak: { type: "number", required: false },
|
|
1437
|
-
longest_streak: { type: "number", required: false },
|
|
1438
|
-
status: { type: "string", required: false },
|
|
1439
|
-
start_date: { type: "date", required: false },
|
|
1440
|
-
priority: { type: "string", required: false },
|
|
1441
|
-
notes: { type: "string", required: false },
|
|
1442
|
-
import_date: { type: "date", required: false },
|
|
1443
|
-
import_source_file: { type: "string", required: false },
|
|
1444
|
-
},
|
|
1445
|
-
},
|
|
1446
|
-
reducer_config: {
|
|
1447
|
-
merge_policies: {
|
|
1448
|
-
current_streak: { strategy: "last_write" },
|
|
1449
|
-
longest_streak: { strategy: "last_write" },
|
|
1450
|
-
status: { strategy: "last_write" },
|
|
1451
|
-
},
|
|
1452
|
-
},
|
|
1453
|
-
},
|
|
1454
|
-
|
|
1455
|
-
workout: {
|
|
1456
|
-
entity_type: "workout",
|
|
1457
|
-
schema_version: "1.0",
|
|
1458
|
-
metadata: {
|
|
1459
|
-
label: "Workout",
|
|
1460
|
-
description: "Complete workout routines combining multiple exercises.",
|
|
1461
|
-
category: "health",
|
|
1462
|
-
aliases: ["training_routine", "exercise_plan", "routine"],
|
|
1463
|
-
},
|
|
1464
|
-
schema_definition: {
|
|
1465
|
-
fields: {
|
|
1466
|
-
schema_version: { type: "string", required: true },
|
|
1467
|
-
workout_id: { type: "string", required: false },
|
|
1468
|
-
name: { type: "string", required: true },
|
|
1469
|
-
exercises: { type: "string", required: false },
|
|
1470
|
-
type: { type: "string", required: false },
|
|
1471
|
-
circuits: { type: "string", required: false },
|
|
1472
|
-
primary_muscles: { type: "string", required: false },
|
|
1473
|
-
secondary_muscles: { type: "string", required: false },
|
|
1474
|
-
notes: { type: "string", required: false },
|
|
1475
|
-
import_date: { type: "date", required: false },
|
|
1476
|
-
import_source_file: { type: "string", required: false },
|
|
1477
|
-
},
|
|
1478
|
-
},
|
|
1479
|
-
reducer_config: {
|
|
1480
|
-
merge_policies: {
|
|
1481
|
-
name: { strategy: "last_write" },
|
|
1482
|
-
exercises: { strategy: "merge_array" },
|
|
1483
|
-
},
|
|
1484
|
-
},
|
|
1485
|
-
},
|
|
1486
|
-
|
|
1487
|
-
outcome: {
|
|
1488
|
-
entity_type: "outcome",
|
|
1489
|
-
schema_version: "1.0",
|
|
1490
|
-
metadata: {
|
|
1491
|
-
label: "Outcome",
|
|
1492
|
-
description: "Achieved results and deliverables organized by strategic goals.",
|
|
1493
|
-
category: "productivity",
|
|
1494
|
-
aliases: ["objective", "result", "deliverable"],
|
|
1495
|
-
},
|
|
1496
|
-
schema_definition: {
|
|
1497
|
-
fields: {
|
|
1498
|
-
schema_version: { type: "string", required: true },
|
|
1499
|
-
outcome_id: { type: "string", required: false },
|
|
1500
|
-
outcome_name: { type: "string", required: true },
|
|
1501
|
-
outcome_type: { type: "string", required: false },
|
|
1502
|
-
goal_id: { type: "string", required: false },
|
|
1503
|
-
goal_category: { type: "string", required: false },
|
|
1504
|
-
domain: { type: "string", required: false },
|
|
1505
|
-
status: { type: "string", required: false },
|
|
1506
|
-
target_date: { type: "date", required: false },
|
|
1507
|
-
description: { type: "string", required: false },
|
|
1508
|
-
notes: { type: "string", required: false },
|
|
1509
|
-
created_at: { type: "date", required: false },
|
|
1510
|
-
updated_at: { type: "date", required: false },
|
|
1511
|
-
import_date: { type: "date", required: false },
|
|
1512
|
-
import_source_file: { type: "string", required: false },
|
|
1513
|
-
},
|
|
1514
|
-
},
|
|
1515
|
-
reducer_config: {
|
|
1516
|
-
merge_policies: {
|
|
1517
|
-
status: { strategy: "last_write" },
|
|
1518
|
-
updated_at: { strategy: "last_write" },
|
|
1519
|
-
},
|
|
1520
|
-
},
|
|
1521
|
-
},
|
|
1522
|
-
|
|
1523
|
-
emotion: {
|
|
1524
|
-
entity_type: "emotion",
|
|
1525
|
-
schema_version: "1.0",
|
|
1526
|
-
metadata: {
|
|
1527
|
-
label: "Emotion",
|
|
1528
|
-
description: "Emotion tracking and categorization.",
|
|
1529
|
-
category: "health",
|
|
1530
|
-
aliases: ["feeling", "mood"],
|
|
1531
|
-
},
|
|
1532
|
-
schema_definition: {
|
|
1533
|
-
fields: {
|
|
1534
|
-
schema_version: { type: "string", required: true },
|
|
1535
|
-
emotion_id: { type: "string", required: false },
|
|
1536
|
-
name: { type: "string", required: true },
|
|
1537
|
-
category: { type: "string", required: false },
|
|
1538
|
-
notes: { type: "string", required: false },
|
|
1539
|
-
import_date: { type: "date", required: false },
|
|
1540
|
-
import_source_file: { type: "string", required: false },
|
|
1541
|
-
},
|
|
1542
|
-
},
|
|
1543
|
-
reducer_config: {
|
|
1544
|
-
merge_policies: {
|
|
1545
|
-
name: { strategy: "last_write" },
|
|
1546
|
-
},
|
|
1547
|
-
},
|
|
1548
|
-
},
|
|
1549
|
-
|
|
1550
|
-
domain: {
|
|
1551
|
-
entity_type: "domain",
|
|
1552
|
-
schema_version: "1.0",
|
|
1553
|
-
metadata: {
|
|
1554
|
-
label: "Domain",
|
|
1555
|
-
description: "Domain name registrations and management.",
|
|
1556
|
-
category: "knowledge",
|
|
1557
|
-
aliases: ["domain_name", "website_domain"],
|
|
1558
|
-
},
|
|
1559
|
-
schema_definition: {
|
|
1560
|
-
fields: {
|
|
1561
|
-
schema_version: { type: "string", required: true },
|
|
1562
|
-
domain_id: { type: "string", required: false },
|
|
1563
|
-
name: { type: "string", required: true },
|
|
1564
|
-
companies: { type: "string", required: false },
|
|
1565
|
-
registrar: { type: "string", required: false },
|
|
1566
|
-
expiry_date: { type: "date", required: false },
|
|
1567
|
-
status: { type: "string", required: false },
|
|
1568
|
-
notes: { type: "string", required: false },
|
|
1569
|
-
import_date: { type: "date", required: false },
|
|
1570
|
-
import_source_file: { type: "string", required: false },
|
|
1571
|
-
},
|
|
1572
|
-
},
|
|
1573
|
-
reducer_config: {
|
|
1574
|
-
merge_policies: {
|
|
1575
|
-
status: { strategy: "last_write" },
|
|
1576
|
-
expiry_date: { strategy: "last_write" },
|
|
1577
|
-
},
|
|
1578
|
-
},
|
|
1579
|
-
},
|
|
1580
|
-
|
|
1581
|
-
research: {
|
|
1582
|
-
entity_type: "research",
|
|
1583
|
-
schema_version: "1.0",
|
|
1584
|
-
metadata: {
|
|
1585
|
-
label: "Research",
|
|
1586
|
-
description:
|
|
1587
|
-
"Research summaries and notes from articles, podcasts, papers, and other sources.",
|
|
1588
|
-
category: "knowledge",
|
|
1589
|
-
aliases: ["research_note", "study", "article_summary"],
|
|
1590
|
-
},
|
|
1591
|
-
schema_definition: {
|
|
1592
|
-
fields: {
|
|
1593
|
-
schema_version: { type: "string", required: true },
|
|
1594
|
-
research_id: { type: "string", required: false },
|
|
1595
|
-
title: { type: "string", required: true },
|
|
1596
|
-
source_url: { type: "string", required: false },
|
|
1597
|
-
source_type: { type: "string", required: false },
|
|
1598
|
-
author: { type: "string", required: false },
|
|
1599
|
-
publication_date: { type: "date", required: false },
|
|
1600
|
-
summary: { type: "string", required: false },
|
|
1601
|
-
topics: { type: "string", required: false },
|
|
1602
|
-
created_date: { type: "date", required: false },
|
|
1603
|
-
updated_date: { type: "date", required: false },
|
|
1604
|
-
},
|
|
1605
|
-
},
|
|
1606
|
-
reducer_config: {
|
|
1607
|
-
merge_policies: {
|
|
1608
|
-
summary: { strategy: "last_write" },
|
|
1609
|
-
updated_date: { strategy: "last_write" },
|
|
1610
|
-
},
|
|
1611
|
-
},
|
|
1612
|
-
},
|
|
1613
|
-
|
|
1614
|
-
argument: {
|
|
1615
|
-
entity_type: "argument",
|
|
1616
|
-
schema_version: "1.0",
|
|
1617
|
-
metadata: {
|
|
1618
|
-
label: "Argument",
|
|
1619
|
-
description: "Relationship arguments tracking (restricted).",
|
|
1620
|
-
category: "knowledge",
|
|
1621
|
-
aliases: ["dispute", "disagreement"],
|
|
1622
|
-
},
|
|
1623
|
-
schema_definition: {
|
|
1624
|
-
fields: {
|
|
1625
|
-
schema_version: { type: "string", required: true },
|
|
1626
|
-
argument_id: { type: "string", required: false },
|
|
1627
|
-
name: { type: "string", required: true },
|
|
1628
|
-
date: { type: "date", required: false },
|
|
1629
|
-
category: { type: "string", required: false },
|
|
1630
|
-
resolution: { type: "string", required: false },
|
|
1631
|
-
notes: { type: "string", required: false },
|
|
1632
|
-
import_date: { type: "date", required: false },
|
|
1633
|
-
import_source_file: { type: "string", required: false },
|
|
1634
|
-
},
|
|
1635
|
-
},
|
|
1636
|
-
reducer_config: {
|
|
1637
|
-
merge_policies: {
|
|
1638
|
-
resolution: { strategy: "last_write" },
|
|
1639
|
-
},
|
|
1640
|
-
},
|
|
1641
|
-
},
|
|
1642
|
-
|
|
1643
|
-
strategy: {
|
|
1644
|
-
entity_type: "strategy",
|
|
1645
|
-
schema_version: "1.0",
|
|
1646
|
-
metadata: {
|
|
1647
|
-
label: "Strategy",
|
|
1648
|
-
description: "Strategic documents and tactics from markdown files.",
|
|
1649
|
-
category: "productivity",
|
|
1650
|
-
aliases: ["strategic_document", "tactic"],
|
|
1651
|
-
},
|
|
1652
|
-
schema_definition: {
|
|
1653
|
-
fields: {
|
|
1654
|
-
schema_version: { type: "string", required: true },
|
|
1655
|
-
strategy_id: { type: "string", required: true },
|
|
1656
|
-
title: { type: "string", required: true },
|
|
1657
|
-
content: { type: "string", required: true },
|
|
1658
|
-
category: { type: "string", required: true },
|
|
1659
|
-
domain: { type: "string", required: true },
|
|
1660
|
-
file_path: { type: "string", required: true },
|
|
1661
|
-
status: { type: "string", required: false },
|
|
1662
|
-
last_updated_date: { type: "date", required: false },
|
|
1663
|
-
created_date: { type: "date", required: false },
|
|
1664
|
-
import_date: { type: "date", required: true },
|
|
1665
|
-
import_source_file: { type: "string", required: true },
|
|
1666
|
-
notes: { type: "string", required: false },
|
|
1667
|
-
},
|
|
1668
|
-
},
|
|
1669
|
-
reducer_config: {
|
|
1670
|
-
merge_policies: {
|
|
1671
|
-
content: { strategy: "last_write" },
|
|
1672
|
-
status: { strategy: "last_write" },
|
|
1673
|
-
last_updated_date: { strategy: "last_write" },
|
|
1674
|
-
},
|
|
1675
|
-
},
|
|
1676
|
-
},
|
|
1677
|
-
|
|
1678
|
-
process: {
|
|
1679
|
-
entity_type: "process",
|
|
1680
|
-
schema_version: "1.0",
|
|
1681
|
-
metadata: {
|
|
1682
|
-
label: "Process",
|
|
1683
|
-
description: "Process documents and analysis records.",
|
|
1684
|
-
category: "productivity",
|
|
1685
|
-
aliases: ["procedure", "workflow"],
|
|
1686
|
-
},
|
|
1687
|
-
schema_definition: {
|
|
1688
|
-
fields: {
|
|
1689
|
-
schema_version: { type: "string", required: true },
|
|
1690
|
-
process_id: { type: "string", required: false },
|
|
1691
|
-
title: { type: "string", required: true },
|
|
1692
|
-
content: { type: "string", required: false },
|
|
1693
|
-
process_type: { type: "string", required: false },
|
|
1694
|
-
sources: { type: "string", required: false },
|
|
1695
|
-
created_date: { type: "date", required: false },
|
|
1696
|
-
created_datetime: { type: "date", required: false },
|
|
1697
|
-
},
|
|
1698
|
-
},
|
|
1699
|
-
reducer_config: {
|
|
1700
|
-
merge_policies: {
|
|
1701
|
-
content: { strategy: "last_write" },
|
|
1702
|
-
},
|
|
1703
|
-
},
|
|
1704
|
-
},
|
|
1705
|
-
|
|
1706
|
-
task_attachment: {
|
|
1707
|
-
entity_type: "task_attachment",
|
|
1708
|
-
schema_version: "1.0",
|
|
1709
|
-
metadata: {
|
|
1710
|
-
label: "Task Attachment",
|
|
1711
|
-
description: "File attachments on tasks.",
|
|
1712
|
-
category: "productivity",
|
|
1713
|
-
aliases: ["task_file", "attachment"],
|
|
1714
|
-
},
|
|
1715
|
-
schema_definition: {
|
|
1716
|
-
fields: {
|
|
1717
|
-
schema_version: { type: "string", required: true },
|
|
1718
|
-
attachment_id: { type: "string", required: false },
|
|
1719
|
-
task_id: { type: "string", required: false },
|
|
1720
|
-
asana_task_gid: { type: "string", required: false },
|
|
1721
|
-
asana_attachment_gid: { type: "string", required: false },
|
|
1722
|
-
asana_workspace: { type: "string", required: false },
|
|
1723
|
-
name: { type: "string", required: true },
|
|
1724
|
-
resource_subtype: { type: "string", required: false },
|
|
1725
|
-
content_type: { type: "string", required: false },
|
|
1726
|
-
size_bytes: { type: "number", required: false },
|
|
1727
|
-
local_path: { type: "string", required: false },
|
|
1728
|
-
download_url: { type: "string", required: false },
|
|
1729
|
-
created_at: { type: "date", required: false },
|
|
1730
|
-
imported_at: { type: "date", required: false },
|
|
1731
|
-
import_source_file: { type: "string", required: false },
|
|
1732
|
-
},
|
|
1733
|
-
},
|
|
1734
|
-
reducer_config: {
|
|
1735
|
-
merge_policies: {
|
|
1736
|
-
local_path: { strategy: "last_write" },
|
|
1737
|
-
},
|
|
1738
|
-
},
|
|
1739
|
-
},
|
|
1740
|
-
|
|
1741
|
-
task_comment: {
|
|
1742
|
-
entity_type: "task_comment",
|
|
1743
|
-
schema_version: "1.0",
|
|
1744
|
-
metadata: {
|
|
1745
|
-
label: "Task Comment",
|
|
1746
|
-
description: "Comments on tasks.",
|
|
1747
|
-
category: "productivity",
|
|
1748
|
-
aliases: ["comment", "task_note"],
|
|
1749
|
-
},
|
|
1750
|
-
schema_definition: {
|
|
1751
|
-
fields: {
|
|
1752
|
-
schema_version: { type: "string", required: true },
|
|
1753
|
-
comment_id: { type: "string", required: false },
|
|
1754
|
-
task_id: { type: "string", required: false },
|
|
1755
|
-
asana_task_gid: { type: "string", required: false },
|
|
1756
|
-
asana_story_gid: { type: "string", required: false },
|
|
1757
|
-
asana_workspace: { type: "string", required: false },
|
|
1758
|
-
author_name: { type: "string", required: false },
|
|
1759
|
-
author_gid: { type: "string", required: false },
|
|
1760
|
-
text: { type: "string", required: true },
|
|
1761
|
-
comment_html: { type: "string", required: false },
|
|
1762
|
-
comment_html_remote: { type: "string", required: false },
|
|
1763
|
-
created_at: { type: "date", required: false },
|
|
1764
|
-
imported_at: { type: "date", required: false },
|
|
1765
|
-
import_source_file: { type: "string", required: false },
|
|
1766
|
-
},
|
|
1767
|
-
},
|
|
1768
|
-
reducer_config: {
|
|
1769
|
-
merge_policies: {
|
|
1770
|
-
text: { strategy: "last_write" },
|
|
1771
|
-
},
|
|
1772
|
-
},
|
|
1773
|
-
},
|
|
1774
|
-
|
|
1775
|
-
task_dependency: {
|
|
1776
|
-
entity_type: "task_dependency",
|
|
1777
|
-
schema_version: "1.0",
|
|
1778
|
-
metadata: {
|
|
1779
|
-
label: "Task Dependency",
|
|
1780
|
-
description: "Task blocking relationships.",
|
|
1781
|
-
category: "productivity",
|
|
1782
|
-
aliases: ["dependency", "task_blocker"],
|
|
1783
|
-
},
|
|
1784
|
-
schema_definition: {
|
|
1785
|
-
fields: {
|
|
1786
|
-
schema_version: { type: "string", required: true },
|
|
1787
|
-
dependency_id: { type: "string", required: false },
|
|
1788
|
-
task_id: { type: "string", required: false },
|
|
1789
|
-
asana_task_gid: { type: "string", required: false },
|
|
1790
|
-
asana_workspace: { type: "string", required: false },
|
|
1791
|
-
predecessor_task_id: { type: "string", required: false },
|
|
1792
|
-
predecessor_asana_gid: { type: "string", required: false },
|
|
1793
|
-
successor_task_id: { type: "string", required: false },
|
|
1794
|
-
successor_asana_gid: { type: "string", required: false },
|
|
1795
|
-
created_at: { type: "date", required: false },
|
|
1796
|
-
imported_at: { type: "date", required: false },
|
|
1797
|
-
import_source_file: { type: "string", required: false },
|
|
1798
|
-
},
|
|
1799
|
-
},
|
|
1800
|
-
reducer_config: {
|
|
1801
|
-
merge_policies: {},
|
|
1802
|
-
},
|
|
1803
|
-
},
|
|
1804
|
-
|
|
1805
|
-
task_story: {
|
|
1806
|
-
entity_type: "task_story",
|
|
1807
|
-
schema_version: "1.0",
|
|
1808
|
-
metadata: {
|
|
1809
|
-
label: "Task Story",
|
|
1810
|
-
description: "Activity log entries for tasks.",
|
|
1811
|
-
category: "productivity",
|
|
1812
|
-
aliases: ["story", "activity_log"],
|
|
1813
|
-
},
|
|
1814
|
-
schema_definition: {
|
|
1815
|
-
fields: {
|
|
1816
|
-
schema_version: { type: "string", required: true },
|
|
1817
|
-
story_id: { type: "string", required: false },
|
|
1818
|
-
task_id: { type: "string", required: false },
|
|
1819
|
-
asana_task_gid: { type: "string", required: false },
|
|
1820
|
-
asana_story_gid: { type: "string", required: false },
|
|
1821
|
-
asana_workspace: { type: "string", required: false },
|
|
1822
|
-
story_type: { type: "string", required: false },
|
|
1823
|
-
author_name: { type: "string", required: false },
|
|
1824
|
-
author_gid: { type: "string", required: false },
|
|
1825
|
-
text: { type: "string", required: false },
|
|
1826
|
-
story_html: { type: "string", required: false },
|
|
1827
|
-
story_html_remote: { type: "string", required: false },
|
|
1828
|
-
created_at: { type: "date", required: false },
|
|
1829
|
-
imported_at: { type: "date", required: false },
|
|
1830
|
-
import_source_file: { type: "string", required: false },
|
|
1831
|
-
},
|
|
1832
|
-
},
|
|
1833
|
-
reducer_config: {
|
|
1834
|
-
merge_policies: {},
|
|
1835
|
-
},
|
|
1836
|
-
},
|
|
1837
|
-
|
|
1838
|
-
habit_completion: {
|
|
1839
|
-
entity_type: "habit_completion",
|
|
1840
|
-
schema_version: "1.0",
|
|
1841
|
-
metadata: {
|
|
1842
|
-
label: "Habit Completion",
|
|
1843
|
-
description: "Daily completion tracking for habits.",
|
|
1844
|
-
category: "health",
|
|
1845
|
-
aliases: ["completion", "habit_log"],
|
|
1846
|
-
},
|
|
1847
|
-
schema_definition: {
|
|
1848
|
-
fields: {
|
|
1849
|
-
schema_version: { type: "string", required: true },
|
|
1850
|
-
completion_id: { type: "string", required: false },
|
|
1851
|
-
habit_id: { type: "string", required: true },
|
|
1852
|
-
completion_date: { type: "date", required: true },
|
|
1853
|
-
notes: { type: "string", required: false },
|
|
1854
|
-
import_date: { type: "date", required: false },
|
|
1855
|
-
import_source_file: { type: "string", required: false },
|
|
1856
|
-
},
|
|
1857
|
-
},
|
|
1858
|
-
reducer_config: {
|
|
1859
|
-
merge_policies: {},
|
|
1860
|
-
},
|
|
1861
|
-
},
|
|
1862
|
-
|
|
1863
|
-
habit_objective: {
|
|
1864
|
-
entity_type: "habit_objective",
|
|
1865
|
-
schema_version: "1.0",
|
|
1866
|
-
metadata: {
|
|
1867
|
-
label: "Habit Objective",
|
|
1868
|
-
description: "Target benefits and objectives for habits.",
|
|
1869
|
-
category: "health",
|
|
1870
|
-
aliases: ["habit_goal", "habit_target"],
|
|
1871
|
-
},
|
|
1872
|
-
schema_definition: {
|
|
1873
|
-
fields: {
|
|
1874
|
-
schema_version: { type: "string", required: true },
|
|
1875
|
-
objective_id: { type: "string", required: false },
|
|
1876
|
-
habit_id: { type: "string", required: true },
|
|
1877
|
-
objective: { type: "string", required: true },
|
|
1878
|
-
objective_type: { type: "string", required: false },
|
|
1879
|
-
priority: { type: "string", required: false },
|
|
1880
|
-
notes: { type: "string", required: false },
|
|
1881
|
-
import_date: { type: "date", required: false },
|
|
1882
|
-
import_source_file: { type: "string", required: false },
|
|
1883
|
-
},
|
|
1884
|
-
},
|
|
1885
|
-
reducer_config: {
|
|
1886
|
-
merge_policies: {
|
|
1887
|
-
priority: { strategy: "last_write" },
|
|
1888
|
-
},
|
|
1889
|
-
},
|
|
1890
|
-
},
|
|
1891
|
-
};
|
|
1892
|
-
|
|
1893
|
-
/**
|
|
1894
|
-
* @deprecated EXPANDED_ENTITY_SCHEMAS has been merged into ENTITY_SCHEMAS.
|
|
1895
|
-
* All schemas are now in a single unified structure.
|
|
1896
|
-
* This export is kept for backward compatibility but will be removed in a future version.
|
|
1897
|
-
*/
|
|
1898
|
-
export const EXPANDED_ENTITY_SCHEMAS: Record<string, Partial<EntitySchema>> = {};
|
|
1899
|
-
|
|
1900
|
-
/**
|
|
1901
|
-
* Get entity schema for an entity type
|
|
1902
|
-
*/
|
|
1903
|
-
export function getSchemaDefinition(entityType: string): EntitySchema | null {
|
|
1904
|
-
return ENTITY_SCHEMAS[entityType] || null;
|
|
1905
|
-
}
|
|
1906
|
-
|
|
1907
|
-
/**
|
|
1908
|
-
* Normalize string for alias matching: lowercase, trim, strip diacritics.
|
|
1909
|
-
* So "Récibo" and "Recibo" both match alias "recibo".
|
|
1910
|
-
*/
|
|
1911
|
-
function normalizeForAliasMatch(s: string): string {
|
|
1912
|
-
const trimmed = s.trim().toLowerCase();
|
|
1913
|
-
if (!trimmed) return "";
|
|
1914
|
-
return trimmed.normalize("NFD").replace(/\p{Diacritic}/gu, "") || trimmed;
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
/**
|
|
1918
|
-
* Resolve an extracted or localized entity type to a canonical entity_type
|
|
1919
|
-
* by matching against registered schemas' entity_type and metadata.aliases.
|
|
1920
|
-
* No hardcoded map: all mappings come from schema definitions, so new schemas
|
|
1921
|
-
* and aliases extend behavior automatically.
|
|
1922
|
-
* Matching is case- and accent-insensitive (e.g. "Recibo", "Récibo" -> receipt).
|
|
1923
|
-
*
|
|
1924
|
-
* @param extractedType - Raw type from LLM or client (e.g. "Recibo", "factura")
|
|
1925
|
-
* @returns Canonical entity_type if a schema matches, otherwise null
|
|
1926
|
-
*/
|
|
1927
|
-
export function resolveEntityTypeFromAlias(extractedType: string): string | null {
|
|
1928
|
-
const normalized = normalizeForAliasMatch(extractedType);
|
|
1929
|
-
if (!normalized) return null;
|
|
1930
|
-
|
|
1931
|
-
for (const [canonicalType, schema] of Object.entries(ENTITY_SCHEMAS)) {
|
|
1932
|
-
if (normalized === normalizeForAliasMatch(canonicalType)) return canonicalType;
|
|
1933
|
-
const aliases = schema.metadata?.aliases ?? [];
|
|
1934
|
-
if (aliases.some((a) => normalizeForAliasMatch(a) === normalized)) return canonicalType;
|
|
1935
|
-
}
|
|
1936
|
-
return null;
|
|
1937
|
-
}
|
|
1938
|
-
|
|
1939
|
-
/**
|
|
1940
|
-
* Return all canonical entity types that have a registered schema.
|
|
1941
|
-
* Used e.g. for LLM-based entity type inference when no alias matches.
|
|
1942
|
-
*/
|
|
1943
|
-
export function getRegisteredEntityTypes(): string[] {
|
|
1944
|
-
return Object.keys(ENTITY_SCHEMAS);
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
/** Minimal schema shape for scoring (code-defined or registry entry). */
|
|
1948
|
-
export interface SchemaCandidate {
|
|
1949
|
-
entity_type: string;
|
|
1950
|
-
schema_definition: { fields?: Record<string, { type: string; required?: boolean }> };
|
|
1951
|
-
}
|
|
1952
|
-
|
|
1953
|
-
/**
|
|
1954
|
-
* Score how well a set of extracted field keys matches a schema.
|
|
1955
|
-
* Required fields present count 2, optional count 1. Keys compared case-insensitively.
|
|
1956
|
-
*/
|
|
1957
|
-
function scoreSchemaMatch(
|
|
1958
|
-
extractedKeys: Set<string>,
|
|
1959
|
-
schema: SchemaCandidate
|
|
1960
|
-
): { required: number; optional: number } {
|
|
1961
|
-
const fields = schema.schema_definition?.fields ?? {};
|
|
1962
|
-
let required = 0;
|
|
1963
|
-
let optional = 0;
|
|
1964
|
-
for (const [name, def] of Object.entries(fields)) {
|
|
1965
|
-
if (name === "schema_version") continue;
|
|
1966
|
-
const key = name.toLowerCase();
|
|
1967
|
-
if (!extractedKeys.has(key)) continue;
|
|
1968
|
-
if ((def as { required?: boolean }).required) {
|
|
1969
|
-
required += 1;
|
|
1970
|
-
} else {
|
|
1971
|
-
optional += 1;
|
|
1972
|
-
}
|
|
1973
|
-
}
|
|
1974
|
-
return { required, optional };
|
|
1975
|
-
}
|
|
1976
|
-
|
|
1977
|
-
/** Types that are generic or catch-all; refinement may override these. */
|
|
1978
|
-
const GENERIC_ENTITY_TYPES = new Set(["note", "generic"]);
|
|
1979
|
-
|
|
1980
|
-
/**
|
|
1981
|
-
* Refine entity type using extracted field keys: if the current type fits poorly
|
|
1982
|
-
* (e.g. 0–1 required fields) and another schema fits better (e.g. 2+ required fields),
|
|
1983
|
-
* return the better-matching type. Reduces misclassification (e.g. receipt doc → note).
|
|
1984
|
-
*
|
|
1985
|
-
* Works with a dynamic number of schema types: pass candidateSchemas from the registry
|
|
1986
|
-
* (e.g. schemaRegistry.listActiveSchemas(userId)) merged with code-defined schemas so
|
|
1987
|
-
* user/global DB schemas participate. When candidateSchemas is omitted, only code-defined
|
|
1988
|
-
* ENTITY_SCHEMAS are considered.
|
|
1989
|
-
*
|
|
1990
|
-
* @param currentEntityType - Resolved type from alias/LLM
|
|
1991
|
-
* @param extractedFieldKeys - Keys from extracted entity data (e.g. Object.keys(fields))
|
|
1992
|
-
* @param candidateSchemas - Optional list of schemas to consider (code + DB); when omitted, uses ENTITY_SCHEMAS only
|
|
1993
|
-
* @returns Refined entity type, or currentEntityType if no better match
|
|
1994
|
-
*/
|
|
1995
|
-
export function refineEntityTypeFromExtractedFields(
|
|
1996
|
-
currentEntityType: string,
|
|
1997
|
-
extractedFieldKeys: string[],
|
|
1998
|
-
candidateSchemas?: SchemaCandidate[]
|
|
1999
|
-
): string {
|
|
2000
|
-
const keySet = new Set(extractedFieldKeys.map((k) => k.trim().toLowerCase()).filter(Boolean));
|
|
2001
|
-
if (keySet.size === 0) return currentEntityType;
|
|
2002
|
-
|
|
2003
|
-
const candidates: SchemaCandidate[] =
|
|
2004
|
-
candidateSchemas ?? Object.entries(ENTITY_SCHEMAS).map(([entity_type, s]) => ({ entity_type, schema_definition: s.schema_definition }));
|
|
2005
|
-
|
|
2006
|
-
const currentSchema = candidates.find((c) => c.entity_type === currentEntityType) ?? getSchemaDefinition(currentEntityType);
|
|
2007
|
-
const shouldRefineCurrentType =
|
|
2008
|
-
GENERIC_ENTITY_TYPES.has(currentEntityType) || !currentSchema;
|
|
2009
|
-
if (!shouldRefineCurrentType) return currentEntityType;
|
|
2010
|
-
|
|
2011
|
-
const currentScore = currentSchema
|
|
2012
|
-
? scoreSchemaMatch(keySet, currentSchema as SchemaCandidate)
|
|
2013
|
-
: { required: 0, optional: 0 };
|
|
2014
|
-
|
|
2015
|
-
// If current type already has strong fit (2+ required), keep it
|
|
2016
|
-
if (currentScore.required >= 2) return currentEntityType;
|
|
2017
|
-
|
|
2018
|
-
let bestOther: { type: string; required: number; optional: number } | null = null;
|
|
2019
|
-
for (const schema of candidates) {
|
|
2020
|
-
if (schema.entity_type === currentEntityType) continue;
|
|
2021
|
-
const s = scoreSchemaMatch(keySet, schema);
|
|
2022
|
-
if (s.required >= 2 && (!bestOther || s.required > bestOther.required || (s.required === bestOther.required && s.optional > bestOther.optional))) {
|
|
2023
|
-
bestOther = { type: schema.entity_type, required: s.required, optional: s.optional };
|
|
2024
|
-
}
|
|
2025
|
-
}
|
|
2026
|
-
if (!bestOther) return currentEntityType;
|
|
2027
|
-
// Override when another type has clearly better fit
|
|
2028
|
-
const currentTotal = currentScore.required * 2 + currentScore.optional;
|
|
2029
|
-
const bestTotal = bestOther.required * 2 + bestOther.optional;
|
|
2030
|
-
if (bestTotal > currentTotal + 1) return bestOther.type;
|
|
2031
|
-
return currentEntityType;
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
|
-
/**
|
|
2035
|
-
* @deprecated Use getSchemaDefinition() instead. All schemas are now unified.
|
|
2036
|
-
* This function is kept for backward compatibility but will be removed in a future version.
|
|
2037
|
-
*/
|
|
2038
|
-
export function getExpandedSchemaDefinition(entityType: string): Partial<EntitySchema> | null {
|
|
2039
|
-
// All schemas are now in ENTITY_SCHEMAS, so just use that
|
|
2040
|
-
return getSchemaDefinition(entityType);
|
|
2041
|
-
}
|