[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111339":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":13,"stars30d":15,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":16,"rankGlobal":10,"rankLanguage":10,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":10,"pushedAt":27,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":13,"starSnapshotCount":13,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},111339,"pling","plingjs\u002Fpling","plingjs","Give every page a soul.","https:\u002F\u002Fplingjs.dev",null,"TypeScript",126,0,1,70,47,"Apache License 2.0",false,"main",true,[22,23,24,25,26],"agent","agent-framework","agentic","agentic-workflow","ai","2026-11-22 03:09:28","2026-11-14 12:05:04","# Pling · Page Intelligence\n\n[简体中文](.\u002FREADME.zh-CN.md)\n\nPling is an open capability layer for web applications. A page declares what an\nagent may inspect and do; the agent executes those operations through the same\ncontrols and business logic people use. Validation, authorization, state, and\nfinal authority remain in the application.\n\nPling is not a browser agent, a replacement for backend APIs, or a generic click\nlayer. It provides a bounded, auditable interface between a web application and\nan agent runtime. An action being visible never means it is authorized.\n\n> Status: `0.1.0-alpha.9`. Package APIs and the Surface protocol may still change.\n> Check [releases](https:\u002F\u002Fplingjs.dev\u002Freleases\u002F) before relying on a production deployment.\n\n## What it provides\n\n- **Declared capabilities.** Actions, records, regions, and read-only state are\n  named by the application instead of guessed from selectors.\n- **Page-native execution.** An agent runs the same handlers, validation, and\n  confirmation gates as a person using the interface.\n- **Bounded context.** The model receives only the records, fields, regions, and\n  view state needed for the current task.\n- **Human authority.** Confirmation, handoff, delegated access, and audit remain\n  explicit boundaries rather than model decisions.\n- **An external-agent contract.** `pling.surface\u002F0.1` defines `describe` and\n  `invoke` for controlled access from an agent outside the page.\n\n## Packages\n\n| Package | Responsibility |\n| --- | --- |\n| `@plingjs\u002Fcore` | Framework-neutral registry, policy, execution, and evidence primitives |\n| `@plingjs\u002Fui` | Shared locale, message, theme, and class-name contracts |\n| `@plingjs\u002Fdom` | DOM targeting, visibility, scrolling, and browser primitives |\n| `@plingjs\u002Fagent` | Agent loop, context assembly, confirmation, continuity, and telemetry |\n| `@plingjs\u002Fsurface` | Agent Surface projection and the `describe` \u002F `invoke` protocol |\n| `@plingjs\u002Fsurface-browser` | Page-side Surface sessions, WebSocket transport, bridge, and reconnect lifecycle |\n| `@plingjs\u002Fsurface-gateway` | Reference Node transport and control plane for page sessions, pairing, MCP, scope, revocation, and audit |\n| `@plingjs\u002Fdelegation` | Delegation contracts and web-standard handlers |\n| `@plingjs\u002Fcontinuity-http` | HTTP integration for cross-device task continuity |\n| `@plingjs\u002Fserver` | Node model gateway for credentials, authentication, limits, and audit |\n| `@plingjs\u002Fvue` | Vue 3 adapter and assistant UI |\n| `@plingjs\u002Freact` | React provider, hooks, and assistant UI |\n| `@plingjs\u002Fvanilla` | DOM adapter for plain JavaScript and jQuery pages |\n| `@plingjs\u002Fvue2` | Vue 2.7 adapter with a documented subset |\n\n## Documentation\n\nEnglish is served from the root, Chinese from `\u002Fzh`:\n\n- [Documentation](https:\u002F\u002Fplingjs.dev\u002Fstart\u002F)\n- [Vue quick start](https:\u002F\u002Fplingjs.dev\u002Fvue\u002Fquick-start-add-pling-to-a-vue-app)\n- [React quick start](https:\u002F\u002Fplingjs.dev\u002Freact\u002Fquick-start-add-pling-to-a-react-app)\n- [Vanilla JavaScript and jQuery](https:\u002F\u002Fplingjs.dev\u002Fvanilla\u002F)\n- [Agent Surface](https:\u002F\u002Fplingjs.dev\u002Fsurface\u002F)\n- [Specification 0.1](https:\u002F\u002Fplingjs.dev\u002Fspec\u002F0.1\u002F)\n\n## Development\n\n```bash\npnpm install\npnpm build\npnpm tutorial:build\npnpm dev:docs\n```\n\nOpen `http:\u002F\u002Flocalhost:5190\u002F`. Workspace packages resolve through their built\n`dist\u002F` directories, so run `pnpm build` once after cloning. Tutorial previews\nare generated assets, so run `pnpm tutorial:build` once as well. The introductory\nexamples use a deterministic scripted model and do not require a provider key.\n\nTo build one tutorial fixture against locally packed packages:\n\n```bash\npnpm tutorial:dev v3-03\npnpm tutorial:check v3-03\n```\n\n## Repository layout\n\n```text\npackages\u002F   framework packages; the only implementation source\nexamples\u002F   public examples, including the authenticated Todo Surface app\ncontent\u002F    bilingual tutorial sources and the locked outline\nwebsite\u002F    VitePress documentation site\nservices\u002F   independently runnable reference services\ndeploy\u002F     Generic Docker, Caddy, and self-hosting reference\nskills\u002F     reusable agent integration guides\nscripts\u002F    repository and release checks\n```\n\n## Verify a change\n\n```bash\npnpm check\npnpm release:check\npnpm build\npnpm typecheck\npnpm test\npnpm pack:check\npnpm --filter @plingjs\u002Fwebsite build\n```\n\nIndividual packages and examples expose their own `test`, `typecheck`, and `dev`\nscripts. Tutorial fixtures are checked against tarballs produced from the current\nworkspace, not unpublished source aliases.\n\n## Security\n\nProvider keys belong on the server. Do not put a model key in frontend\nenvironment variables or a public build. Report vulnerabilities through the\nprivate process in [SECURITY.md](SECURITY.md); do not open a public issue\ncontaining secrets or customer data.\n\n## License\n\nApache-2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).\n","Pling 是一个面向 Web 应用的开放能力层，为网页赋予可声明、可验证、可审计的 AI 代理交互能力。它通过在页面端显式声明操作（actions）、数据（records）、区域（regions）和只读状态，使外部 AI 代理能基于应用原生逻辑安全执行任务，而非依赖 DOM 猜测或绕过前端控制。核心特点包括：能力由应用主动声明、执行复用真实业务逻辑与校验流程、上下文严格受限、人类保有最终确认权与审计权，并通过标准化的 Surface 协议（`describe`\u002F`invoke`）实现跨运行时对接。适用于需要将 LLM 或智能体深度、合规地集成到现有 Web 应用（如企业后台、SaaS 工具、政务系统）中，同时保障权限可控、行为可追溯的场景。",2,"2026-11-24 04:40:53","CREATED_QUERY"]