{"record":{"id":"5dffa036225a1c61","repo":"deepseek-ai/deepseek-harness","slug":"dynamic-package-packageid-does-not-exist-on-p","errorCode":null,"errorMessage":"dynamic package \"${packageId}\" does not exist on plugin \"${pluginId}\"","messagePattern":"dynamic package \"(.+?)\" does not exist on plugin \"(.+?)\"","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/extensions/cordis-host-runner/src/index.ts","lineNumber":653,"sourceCode":"  }\n\n  /**\n   * Read one exact immutable Package and its Host and Client source.\n   * @param agent - Agent whose Session must own the Plugin.\n   * @param pluginId - Stable Plugin identity that owns the Package.\n   * @param packageId - Exact immutable Package identity to inspect.\n   * @returns Package metadata, source, and the Plugin's lifecycle pointers.\n   */\n  inspectPackage(\n    agent: Agent,\n    pluginId: CordisDynamicPluginId,\n    packageId: CordisDynamicPackageId,\n  ): DynamicCordisPackageInspection {\n    const plugin = this.owned(agent, pluginId)\n    if (plugin === undefined) throw new Error(missingPluginMessage(pluginId))\n    const definition = plugin.packages.get(packageId)\n    if (definition === undefined) {\n      throw new Error(`dynamic package \"${packageId}\" does not exist on plugin \"${pluginId}\"`)\n    }\n    return {\n      pluginId,\n      packageId,\n      name: definition.name,\n      purpose: definition.purpose,\n      code: {\n        ...definition.hostCode === undefined ? {} : { host: definition.hostCode },\n        ...definition.clientCode === undefined ? {} : { client: definition.clientCode },\n      },\n      /* jscpd:ignore-start */\n      ...plugin.currentPackageId === undefined ? {} : { currentPackageId: plugin.currentPackageId },\n      ...plugin.nextPackageId === undefined ? {} : { nextPackageId: plugin.nextPackageId },\n      ...plugin.run === undefined ? {} : {\n        activeRun: { pluginRunId: plugin.run.pluginRunId, packageId: plugin.run.packageId },\n      },\n      ...plugin.latestRun === undefined ? {} : { latestRun: cloneAttempt(plugin.latestRun) },\n      /* jscpd:ignore-end */","sourceCodeStart":635,"sourceCodeEnd":671,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/extensions/cordis-host-runner/src/index.ts#L635-L671","documentation":"Error \"dynamic package \"${packageId}\" does not exist on plugin \"${pluginId}\"\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/extensions/cordis-host-runner/src/index.ts:653 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}